public class Test {
public static void main(String[] args) {
String str1 = "hello word";
System.out.println(str1.length()); //字符串长度
System.out.println(str1.isEmpty()); //字符串是否为空
System
String字符串截取以及方法
最新推荐文章于 2025-04-30 15:34:20 发布