BuildMaster SDK Reference
Version:

Match(string input, int startat) Method

Searches the input string for the first occurrence of a regular expression, beginning at the specified starting position in the string.

Syntax

public System.Text.RegularExpressions.Match Match(string input, int startat)

Parameters

input
Type: string

The string to search for a match.

startat
Type: int

The zero-based character position at which to start the search.

Returns

An object that contains information about the match.

Exceptions

System.ArgumentNullException

input is null (Nothing in Visual Basic).

System.ArgumentOutOfRangeException

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