Public Function FindStringInArray(s As String, ArrayVar As Variant, Optional UseLikeOperator As Boolean = False) As Long
See if the string is a member of the array.
Use the Like operator rather than equality if UseLikeOperator = true.
Returns the array index of the string or -1 if not located.
xf_DataList
xf_StringCaseInsensitive