Looks in the list for the supplied value and returns true if it is found.
Namespace: Asi.iBOAssembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0
Syntax
| C# |
|---|
public static bool IsInList( string lookFor, string list, char delimiter, bool ignoreCase ) |
| Visual Basic |
|---|
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.