|
UtilsMatch Method (String, ListString)
|
match a string with a set of strings. The first string may contain regular expressions prefixed by "&".
Namespace:
Karamba.Utilities
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntaxpublic static bool Match(
string set1,
List<string> set2
)
Public Shared Function Match (
set1 As String,
set2 As List(Of String)
) As Boolean
public:
static bool Match(
String^ set1,
List<String^>^ set2
)
static member Match :
set1 : string *
set2 : List<string> -> bool
Parameters
- set1
- Type: SystemString
search string. - set2
- Type: System.Collections.GenericListString
list of strings to be searched.
Return Value
Type:
Boolean true if one of the strings in set2 matches set1.
See Also