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

    int len = s.length();

    if(len == 0)
    {
      return Collections.emptyList();
    }

    if(_blockIgnore == null)
      return splitNoBlockIgnore(s);
    else
      return splitBlockIgnore(s);
  }
public List<String> splitAsList(String s)
  {
    if(s == null)
      return null;

    int len = s.length();

    if(len == 0)
    {
      return Collections.emptyList();
    }

    if(_blockIgnore == null)
      return splitNoBlockIgnore(s);
    else
      return splitBlockIgnore(s);
  }
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>)