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.
The string to find
The array to search
Use the Like operator to compare strings rather than =
dim sarr(3) as array
sarr(1) = "First"
sarr(2) = "Second"
sarr(3) = "Third"
print xf.Str.FindStringInArray("Third", sarr) => 3
print xf.Str.FindStringInArray("Sec", sarr) => -1
print xf.Str.FindStringInArray("Sec*", sarr, True) => 2