StringUtilsExtractMatchesToStringList Method (String, String) |
Searches for items in a string between delimiter characters (specified by regex string expression) and extracts each instance of that string
into a string list.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static StringList ExtractMatchesToStringList(
string s,
string matchExpr
)
Public Shared Function ExtractMatchesToStringList (
s As String,
matchExpr As String
) As StringList
Parameters
- s
- Type: SystemString
The string in which to search. - matchExpr
- Type: SystemString
The RegEx match expression.
Return Value
Type:
StringListThe list of matches, possibly empty, but never null.
See Also