BuildMaster SDK Reference
Version:
Match(string input, int beginning, int length) Method
Searches the input string for the first occurrence of a regular expression, beginning at the specified starting position and searching only the specified number of characters.
Syntax
public
System.Text.RegularExpressions.Match Match(string input, int beginning, int length)
Parameters
- input
- Type: string
The string to be tested for a match.
- beginning
- Type: int
The zero-based character position in the input string at which to begin the search.
- length
- Type: int
The number of characters in the substring to include in the search.
Returns
An object that contains information about the match.
Exceptions
System.ArgumentNullException
|
input is null (Nothing in Visual Basic).
|
System.ArgumentOutOfRangeException
|
beginning is less than zero or greater than the length of input.-or-length is less than zero or greater than the length of input.
|