package com.ruoyi.test;

import org.junit.Test;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class TestMain {

    @Test
    public void test() {
        String str = "123456";
        System.out.println(str.substring(str.length()-4));
    }

}
