GetMatches Method (String[], Int32, Int32)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Searches the specified array for all occurrences of a regular expression, beginning at the specified starting position and ending at the specified length.

Namespace:  System.Text.RegularExpressions
Assembly:  System.Text.RegularExpressions (in System.Text.RegularExpressions.dll)

Syntax

'Declaration
Public Function GetMatches ( _
    search As String(), _
    start As Integer, _
    length As Integer _
) As String()
public string[] GetMatches(
    string[] search,
    int start,
    int length
)
public:
array<String^>^ GetMatches(
    array<String^>^ search, 
    int start, 
    int length
)
member GetMatches : 
        search:string[] * 
        start:int * 
        length:int -> string[] 
public function GetMatches(
    search : String[], 
    start : int, 
    length : int
) : String[]

Parameters

Return Value

Type: array<System. . :: . .String> [] () [] []
The matching objects.

.NET Framework Security

See Also

Reference

Regex Class

GetMatches Overload

System.Text.RegularExpressions Namespace