Java Utililty Methods String Split by Delimiter

List of utility methods to do String Split by Delimiter

Description

The list of methods to do String Split by Delimiter are organized into topic(s).

Method

String[]toTextArray(String text, String delimiter)
split text on delimiter and return the array that has trimmed values
if (text == null || text.length() == 0) {
    return new String[0];
String[] arr = text.split(delimiter);
for (int i = 0; i < arr.length; i++) {
    arr[i] = arr[i].trim();
return arr;
...