$ Substring comparison--binary (Relational) ------------------------------------------------------------------------------ Syntax <cString1> $ <cString2> Type Character, memo Operands <cString1> is a character or memo value that is searched for in <cString2>. <cString2> is a character or memo value within which <cString1> is sought. Description The $ operator is a binary relational operator that performs a case- sensitive substring search and returns true (.T.) if <cString1> is found within <cString2>. Examples . This example illustrates the case-sensitivity of the substring operator ($): ? "A" $ "ABC" // Result: .T. ? "a" $ "ABC" // Result: .F.
See Also: < <= <> = (equality) == > >=