code: public static String[] splitAsArray(String source, char delimiter) {
  
          List<String> result = splitAsList(source, delimiter);
          return result.toArray(new String[result.size()]);
      }
docs: Splits a String into substrings along the provided char delimiter and returns
  the result as an Array of Substrings.<p>
  
  @param source the String to split
  @param delimiter the delimiter to split at
  
  @return the Array of splitted Substrings