Otter SDK Reference
Version:

Split(string input, int count) 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.

Syntax

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

Parameters

input
Type: string

The string to split.

count
Type: int

The maximum number of times the split can occur.

Returns

An array of strings.

Exceptions

System.ArgumentNullException

input is null (Nothing in Visual Basic).