Synopsis Greater than or equal operator on string values.
Syntax Exp1 >= Exp2
Exp1 Exp2 Exp1 >= Exp2
str str bool
Description Yields true if the string value of Exp1 is lexicographically greater than the string value of Exp2 or if both strings are equal, and false otherwise.
rascal>"abc" >= "abc";
bool: true
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