Character Comparison Functions

Description

Functions to compare whole or partial strings.

Name
Description
BETWEEN Function

Returns TRUE if the 1st expr is between the 2nd and 3rd expr, inclusive.

CONTAINSI Function

Returns TRUE if the string contains all the words (case insensitive).

CONTAINSX Function

Returns TRUE if the string contains words that sound like like all 'Words'.

DIFFERENCE Function

Returns a value showing the difference in the soundex values for two strings.

LIKE Function

Returns TRUE if all or part of the first string is found in the second string.

MAX_STR_LENGTH Function

Returns the length of the longest string in a list of strings

SMATCH Function

Returns TRUE if the string matches the pattern (which can include wildcards).

SMATCH_MEMO Function

Returns TRUE if the specified pattern is found in the entire memo.

SMATCH_TO Function

Returns the matched portion of a string.

SOUNDEX Function

Returns the soundex value of a string.

StrEqual Function

Returns .t. if the two strings are equivalent.

Related Functions 

CASE() - CASE()returns the value ( Value _1 ... Value _16) specified by the first matching expression whose that evaluates to .T. (TRUE).

CONTAINS() - Returns .T. (TRUE) if all words in the Find_Words string appear at least once in the Search_String. Case sensitive.

See Also