Java Utililty Methods Array Split

List of utility methods to do Array Split

Description

The list of methods to do Array Split are organized into topic(s).

Method

LinkedListsplitWordsL(String s, boolean splitOnWs, char[] delimiters)
Split into words.
if (s == null)
    return null;
int cstart = -1, 
        len = s.length();
LinkedList l = new LinkedList();
for (int pos = 0; pos < len; pos++) {
    char ch = s.charAt(pos);
    if (cstart < 0) {
...
Stringunsplit(String[] array, String seperator)
unsplit
StringBuilder str = new StringBuilder();
for (int i = 0; i < array.length; i++) {
    str.append(array[i]);
    if (i < array.length - 1)
        str.append(seperator);
return str.toString();