java中split的用法即回顾
package com.b;
public class Cor {
public static void main(String[] args) {
String a = "this is my book";
String[] c = a.split(" ");
for (int i = 0; i < c.length; i++) {
System.out.println(c[i]);
}
}
}
package com.b;
public class Cor {
public static void main(String[] args) {
String a = "this is my book";
String[] c = a.split(" ");
for (int i = 0; i < c.length; i++) {
System.out.println(c[i]);
}
}
}