|
ListMatchermatch Method (String, ListString)
|
match a string with a set of strings. The first string may contain regular expressions prefixed by "&"
Namespace:
Karamba.Elements
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
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