String stra="502978,502979,502930";
//System.out.println("---"+stra+"---");
String[] words = stra.split(",");
System.out.println("---words.length:"+words.length+"---");
for (int i = 0; i < words.length; i++) {
System.out.println("---"+i+":"+words[i]+"---");
}