private static String[] sps(String string) { if (string == null && "".equals(string)) { System.out.println("wrong"); } StringTokenizer st = new StringTokenizer(string, ","); String[] str = new String[st.countTokens()]; int i = 0; while (st.hasMoreTokens()) { str[i] = st.nextToken(); i++; } return str; }