I am trying to use split for space and comma, and this is what i did:
String str ="Test 0,0,Smile";
String delims = "\\s+,"
String parts = str.split(delims);
System.out.println("length " + parts.length);
I am always getting cannot split .. Am I doing somethng wrong ? Thansk a lot.