import java.util.*;

public class try1 {
	public static void main(String[] fuck) {
		String temp = "123456";
		//temp.sub
		System.out.println(temp.substring(0, 3));//想主动执行得写main函数!!!
	}
}

JAVA获取String指定位置子串

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-26
  • 2022-12-23
  • 2022-01-05
  • 2022-12-23
  • 2022-12-23
  • 2021-11-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
  • 2022-12-23
  • 2022-12-23
  • 2021-12-20
相关资源
相似解决方案