JAVA split 这个split("зъ"),String salegameaire="";if(!rd.getStringByDI("tybilllists","SALEGAMEAIRE",i).equals("")){String[] salegameairesplit = rd.getStringByDI("tybilllists","SALEGAMEAIRE",i).split("зы");for (int n = 0; n < salegameairesplit.l
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/28 16:16:15
JAVA split 这个split("зъ"),String salegameaire="";if(!rd.getStringByDI("tybilllists","SALEGAMEAIRE",i).equals("")){String[] salegameairesplit = rd.getStringByDI("tybilllists","SALEGAMEAIRE",i).split("зы");for (int n = 0; n < salegameairesplit.l
JAVA split 这个split("зъ"),
String salegameaire="";
if(!rd.getStringByDI("tybilllists","SALEGAMEAIRE",i).equals("")){
String[] salegameairesplit = rd.getStringByDI("tybilllists","SALEGAMEAIRE",i).split("зы");
for (int n = 0; n < salegameairesplit.length; n++) {
String[] zz = salegameairesplit[n].split("зъ");
salegameaire+=zz[1]+" ";
}
}
JAVA split 这个split("зъ"),String salegameaire="";if(!rd.getStringByDI("tybilllists","SALEGAMEAIRE",i).equals("")){String[] salegameairesplit = rd.getStringByDI("tybilllists","SALEGAMEAIRE",i).split("зы");for (int n = 0; n < salegameairesplit.l
比如说现在又这样一个字符串"abcd3b1234".split("3b") 后会返回一个字符串数组3b其实是正则表达式得到的字符串数组为 String[] str="abcd3b1234".split("3b") ;
str[0]=abcd;
str[1]=1234;