public static void main(String[] args){
String str="护肤,药品,其他";
String temp[];
temp=str.split(",");
for (String s : temp) {
System.out.println("s: "+s);
} }
public static void main(String[] args){
String str="护肤,药品,其他";
String temp[];
temp=str.split(",");
for (String s : temp) {
System.out.println("s: "+s);
} }
该资源仅限VIP专享下载