Result_Flag as L = is_one_of(C expression ,C list_of_values )
.T. = Indicates that the Expression is a member of the List_of_Values. .F. = Indicates that Expression was not found.
The line of text data to find in the List_of_Values.
A CR-LF delimited list of values.
Returns .t. if a value is contained in a crlf delimited list of values
The IS_ONE_OF() function determines whether a text string is a member of a list.
dim str as C str = <<%a% a b c d e %a% ? is_one_of("c", str) = .T.