将数组转成字符串~~~~
String[] aa ={"z","s","l","s"};
String s = Arrays.toString(aa);
System.out.println(s);//[z, s, l, s]
String substring = s.substring(1, s.length() - 1);
System.out.println(substring);//z, s, l, s
字符串数组如何转成字符串
最新推荐文章于 2024-06-11 08:02:12 发布