Looks in the list for the supplied value and returns true if it is found.

Namespace:  Asi.iBO
Assembly:  Asi.iBO (in Asi.iBO.dll) Version: 15.1.2.0

Syntax

C#
public static bool IsInList(
	string lookFor,
	string list,
	char delimiter,
	bool ignoreCase
)
Visual Basic (Declaration)
Public Shared Function IsInList ( _
	lookFor As String, _
	list As String, _
	delimiter As Char, _
	ignoreCase As Boolean _
) As Boolean
Visual C++
public:
static bool IsInList(
	String^ lookFor, 
	String^ list, 
	wchar_t delimiter, 
	bool ignoreCase
)

Parameters

lookFor
Type: System..::.String
The value to look for in the list.
list
Type: System..::.String
The list of values to search.
delimiter
Type: System..::.Char
The delimiter that seperates each item in the list.
ignoreCase
Type: System..::.Boolean
If true, the comparison is case-insensitive.

Return Value

true if the "lookFor" value is found in the last; false if it is not.

See Also