Method FindString
FindString(string, bool)
Finds the index of the first item whose string representation matches the specified text.
int FindString(string s, bool bCase = false)
Parameters
sstringThe string to search for.
bCaseboolIf
true, perform a case-sensitive search; otherwise case-insensitive.
Returns
- int
The zero-based index of the matching item, or -1 if not found.