<分区>
public class SplitStr {
public static void main(String []args) {
String str1 = "This | is | My | Account | For | Java|";
String str2 = "This / is / My / Account / For / Java/";
// String[] arr = str.split("|");
for(String item : str1.split("|")) {
System.out.print(item);
}
}
}
该程序使用字符串 str2 可以正常工作,但不能使用字符串 str1 该程序中可能的流程是什么?