code: public String[] split(String s)
    {
      List<String> ss = splitAsList(s);
      if(ss == null)
        return null;
  
      return ss.toArray(new String[ss.size()]);
    }
docs: 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>)