List of utility methods to do String Split
String[] | splitIt(String s) split It String[] temp1 = new String[32]; int i = 0, a = 0, b = 0, c = 0; while ((i < s.length() - 1) && b < 32) { a = i; while (i < (s.length()) && s.charAt(i) != '&') { i++; c = i; ... |
List | stringToList(String str, String delimiter) string To List if (str == null || "".equals(str)) { return Collections.emptyList(); return Arrays.asList(str.split(delimiter)); |
String[] | split(String str, String separator) split String[] returnValue; int index = str.indexOf(separator); if (index == -1) { returnValue = new String[] { str }; } else { List<String> strList = new ArrayList<String>(); int oldIndex = 0; while (index != -1) { ... |