package cn.goodsers.test;
public class Comminute {
public static void main(String[] args) {
String ss = "1||2||3||";
//String str1[] = ss.split("[||]");
String str1[]=ss.split("[||]{2}");
for (int i = 0; i < str1.length; i++) {
System.out.println(str1[i]);
}
System.out.println(str1.length);
}
}
posted on 2008-01-12 13:41
方涛升 阅读(484)
评论(0) 编辑 收藏 所属分类:
j2ee