BuildMaster SDK Reference
Version:

Split(string input, int count, int startat) Method

Splits the specified input string a specified maximum number of times at the positions defined by a regular expression specified in the LazyRegex constructor. The search for the regular expression pattern starts at a specified character position in the input string.

Syntax

public string[] Split(string input, int count, int startat)

Parameters

input
Type: string

The string to split.

count
Type: int

The maximum number of times the split can occur.

startat
Type: int

The character position in the input string where the search will begin.

Returns

An array of strings.

Exceptions

System.ArgumentNullException

input is null (Nothing in Visual Basic).

System.ArgumentOutOfRangeException

startat is less than zero or greater than the length of input.