Synopsis Greater than operator on string values.
Syntax Exp1 > Exp2
Exp1 Exp2 Exp1 > Exp2
str str bool
Description Yields true if the string value of Exp1 is strictly lexicographically greater than the string value of Exp2, and false otherwise.
rascal>"abcdef" > "abc";
bool: true
rascal>"defghi" > "abcdef";
bool: true
rascal>"a" > "abc";
bool: false
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit