/// <summary> /// Splits the <paramref name="input"/> string at the position defined by a /// previous pattern. /// </summary> public string[] Split(string input, int count) { if (input == null) throw new ArgumentNullException(nameof(input)); return RegexReplacement.Split(this, input, count, UseOptionR() ? input.Length : 0); }
/// <summary> /// Splits the <paramref name="input"/> string at the position defined by a /// previous pattern. /// </summary> public string[] Split(string input, int count, int startat) { if (input == null) throw new ArgumentNullException(nameof(input)); return RegexReplacement.Split(this, input, count, startat); }
public string[] Split(string input, int count) { if (input == null) { throw new ArgumentNullException(); } return(RegexReplacement.Split(this, input, count, this.UseOptionR() ? input.Length : 0)); }
public string[] Split(string input, int count, int startat) { if (input == null) { throw new ArgumentNullException("input"); } return(RegexReplacement.Split(this, input, count, startat)); }