public static String[] strTransArr(String str,String s) {
String[] sArr = s.split(",");
for (int i=0;i<sArr.length;i++){
str=str.replace(sArr[i],",");
}
String[] strArr = str.split(",");
return strArr;
}
String[] ss=strTransArr(res,"(,),+");//前端zdmjText文本域返回的值
04-26
228
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
01-22
2118
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)