STRING.equalsIgnoreCase
Makes a case-insensitive string comparison.
Syntax
equalsIgnoreCase( str STRING )
RETURNS BOOLEAN
- str is the string to compare with.
Usage
This method compares a string to the current STRING
variable by ignoring the
character case, and returns TRUE
if both strings match or when both strings are
NULL
.
Example
MAIN
DEFINE s STRING
LET s = "white"
IF s.equalsIgnoreCase("WHITE") THEN
DISPLAY "Matches"
END IF
END MAIN