Result_Flag as L = CONTAINSX(C String,C Words)
The target to examine, a character string containing words separated by space characters. Character
A character string containing words separated by space characters. The words to find in the target string.
Returns TRUE if the string contains words that sound like like all 'Words'.
CONTAINSX() returns .T. (TRUE) if all words in C Words appear at least once in the C String ; otherwise, it returns .F. (FALSE). Words found in memo fields will be highlighted. Searches are based on Soundex values. Performs a broader search than CONTAINS() , or CONTAINSI().
containsx("now is the time for all good men", "now all is women") -> .F. because the word "women" does not appear in the first string containsx("now is the time for all good men", "now all is ") -> .T.