1.字符串转数组
String orgStr="about,bed,check,doc,txt,from"; String [] result = orgStr.split(","); for(int a = 0;a<result.length;a++){ System.out.print(result[a]+"\t"); }
字符串方法
原文:https://www.cnblogs.com/fxx5/p/12159596.html