String str= "Forevercai;http://4evercai.com;2";
String [] strS = str.split(";");
for (int i = 0; i < strS.length; i++) {
System.out.println(strS[i]);
}
Java 读取TXT一行多列数据
最新推荐文章于 2022-09-16 17:56:33 发布
String str= "Forevercai;http://4evercai.com;2";
String [] strS = str.split(";");
for (int i = 0; i < strS.length; i++) {
System.out.println(strS[i]);
}