String str = "neel,mani,jaiswal"; StringTokenizer st = new StringTokenizer(str, ","); while (st.hasMoreTokens()) { System.out.println(st.nextToken()); }
neel mani jaiswal