一、字符串转化为数组split
String str = "aaa,bbb,ccc";
String[] str2 = str.split(",");
System.out.println(str2[2]);