UtilsMatch(String, ListString) Method

match a string with a set of strings. The first string may contain regular expressions prefixed by "&".

Definition

Namespace: Karamba.Utilities
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
public static bool Match(
	string set1,
	List<string> set2
)

Parameters

set1  String
search string.
set2  ListString
list of strings to be searched.

Return Value

Boolean
true if one of the strings in set2 matches set1.

See Also