org.linkedin.util-core/src/main/java/org/linkedin/util/text/StringSplitter.java
public String[] split(String s)
  {
    List<String> ss = splitAsList(s);
    if(ss == null)
      return null;

    return ss.toArray(new String[ss.size()]);
  }
public String[] split(String s)
  {
    List<String> ss = splitAsList(s);
    if(ss == null)
      return null;

    return ss.toArray(new String[ss.size()]);
  }
public String [ ] split ( String s ) { List < String > ss = splitAsList ( s ) ; if ( ss == null ) return null ; return ss . toArray ( new String [ ss . size ( ) ] ) ; }
Splits the string into an array of strings using the delimiter
provided in the constructor.

@param s the string to split
@return the splitted string (<code>null</code> if <code>s</code> is
<code>null</code>)
Splits the string into an array of strings using the delimiter provided in the constructor .