4.23 STREQ

Use @STREQ to determine if two strings are equal. The result is either:

  • 0 = strings are not equal

  • 1 = strings are equal

Syntax

result = @STREQ (string1, string2)
string1

The first string to compare.

string2

The second string to compare.

Example

The following filter clause compares the value of the variable REGION to the literal value "EAST". If Region = EAST, the record passes the filter.

FILTER (@STREQ (REGION, "EAST"))