标签:style blog ar color sp java for div log
public class Test { public static void main(String args[]) { int temp=0; ArrayList List = new ArrayList(); String s1 = "abc,de.f,gAB,CDE,FGH"; String str1[] = s1.split("[,\\.]"); for (int i = 0; i < str1.length; i++) { System.out.println(str1[i]); List.Add(str1[i]); } List.Sort(); System.out.println( List.Sort()); }
标签:style blog ar color sp java for div log
原文地址:http://www.cnblogs.com/lvk618/p/4121577.html