Description |
---|
Excerpt |
---|
Searches for a specified string and returns a collection of type SearchMatch[]. |
Signature | ||||
---|---|---|---|---|
| ||||
public virtual SearchMatch[] Search(System.String toMatch) |
Signature | ||||
---|---|---|---|---|
| ||||
Public Overridable Function Search(ByVal toMatch As String) As SearchMatch() |
Parameters |
---|
Param | ||||
---|---|---|---|---|
| ||||
The string to find. |
Returns |
---|
A collection of SearchMatch objects. |
Remarks |
---|
The search string can be a literal, a regular expression, or a combination of both. Since the string can contain regular expressions, use a backslash to escape special characters. Special characters are |
Example | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|