$ Operator
Returns True (.T.) if a character expression is contained in another character expression; otherwise, returns False (.F.).
cSearchFor $ cSearchIn |
Parameters
- cSearchFor
-
Specifies the expression looked for within cSearchIn.
- cSearchIn
-
Specifies the expression that is searched to see if it contains cSearchFor.
If cSearchFor is found in cSearchIn, $ returns True (.T.); otherwise, it returns False (.F.). cSearchFor and cSearchIn can be character-type variables or array elements, character-type fields, character string literals, or memo fields of any length.
Memo fields can be manipulated like character expressions, fields in tables, variables, or array elements. For example, if MEMO_FLD is a memo field, the following is acceptable:
Copy CodeLIST FOR 'FOX' $ UPPER(memo_fld)
Return Value
Remarks
Example
See Also
© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic
Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08