String Equals Example

Note that string.equals() is case insensitive by default, unlike the == operator in an expression which is case sensitive.

Smartsite SXML CopyCode image Copy Code
{string.equals(ixperion, IXPERION)}
{string.equals(ixperion, IXPERION, false)}
{string.equals(ixperion, IXPERION, true)}
{sys.eval(ixperion == IXPERION)}
Example Result CopyCode image Copy Code
true
true
false
false
SXML