String Equals Example
Note that string.equals() is case insensitive by default, unlike the == operator in an expression which is case sensitive.
Smartsite SXML | Copy Code |
---|---|
{string.equals(ixperion, IXPERION)} {string.equals(ixperion, IXPERION, false)} {string.equals(ixperion, IXPERION, true)} {sys.eval(ixperion == IXPERION)} |
Example Result | Copy Code |
---|---|
true true false false |