String str="22焦|0动|1图|3供";
String newstr[] = str.split("\\|"); 用\\转换才可以
split("|")不能直接用,需转换
猜你喜欢
转载自wawa129.iteye.com/blog/1668652
今日推荐
周排行