code: @Nonnull
    public static String [] getSplitToArray (@Nullable final CharSequence sText,
                                             @Nonnull @RegEx final String sRegEx,
                                             @Nonnegative final int nLimit)
    {
      ValueEnforcer.notNull (sRegEx, "RegEx");
      if (sText == null)
        return ArrayHelper.EMPTY_STRING_ARRAY;
      return RegExCache.getPattern (sRegEx).split (sText, nLimit);
    }
docs: Split the passed text with the given regular expression returning at most
  the given number of tokens. If you do not need a regular expression,
  {@link StringHelper#getExploded(String, String, int)} is a faster option.
  
  @param sText
  The text to be split. May be <code>null</code>.
  @param sRegEx
  The regular expression to use for splitting. May neither be
  <code>null</code> nor empty.
  @param nLimit
  The maximum number of tokens to return if the value is &gt; 0. If
  the value is &le; 0 it has no effect and all tokens are returned.
  @return An empty array if the text is <code>null</code>, a non-
  <code>null</code> array otherwise. If both text and regular
  expression are <code>null</code> an empty array is returned as well
  since the text parameter is checked first.