Click or drag to resize

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)
Syntax
public static bool Match(
	string set1,
	List<string> set2
)

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