Version:
Matches(string input, int startat) Method
Searches the specified input string for all occurrences of a regular expression, beginning at the specified starting position in the string.
Syntax
public
System.Text.RegularExpressions.MatchCollection Matches(string input, int startat)
Parameters
- input
- Type: string
The string to search for a match.
- startat
- Type: int
The character position in the input string at which to start the search.
Returns
A collection of the Match objects found by the search.
Exceptions
System.ArgumentNullException
|
input is null (Nothing in Visual Basic).
|
System.ArgumentOutOfRangeException
|
startat is less than zero or greater than the length of input.
|