_@IMATCH |
|
_@IMATCH 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 without regard to case. That is the two strings "HELLO" and "hello" would be considered identical.
Returns
Value |
Description |
1 |
The two strings when converted to the same case ( all upper or all lower ) are identical. |
0 |
The two strings when converted to the same case ( all upper or all lower )are not identical. |
Format
_@IMATCH( 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 ( _@IMATCH( Keywords, "politics" ) )
. . . . . . .
ENDIF