Xbasic
*ANY Function
Syntax
Result_Flag as L = *ANY(C text,C search_text)
Arguments
- text
A non-null character string.
- search_text
A character string.
Description
Find a search text in text - if found, return true, else return false.
Discussion
*ANY() returns .T. (TRUE) if Find_Stringis found anywhere in Search_In_String. The comparison of Search_In_Stringto Find_Stringis case sensitive.
Example
*any(MYCOLOR, "BLUE") -> TRUE, if the character string "BLUE" occurs anywhere in the MYCOLOR field
Limitations
Case sensitive.
See Also