[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
$
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)
==
>
>=
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson