_@MATCH

_@MATCH function is used in a Logic Template to compare two strings. The two strings are passed as arguments to the function. They are compared on a character by character basis.

Returns

Value

Description

1

The two strings are identical.

0

The two strings are not identical.

Format
_@MATCH
( string_1, string_2 );

Argument

Description

string_1

The first string literal or the name of the first string data field to be tested.

string_2

The second string literal or the name of the second string data field to be tested.

Example
//Process only if searching for the single word "politics"

IF ( _@MATCH( Keywords, "politics" ) )

. . . . . . .

ENDIF