Navigation
Synopsis Less than operator on string values.
Syntax Exp1 < Exp2
Types
Exp1 Exp2 Exp1 < Exp2
str str bool
Description Yields true if the string value of Exp1 is strictly lexicographically less than the string value of Exp2, and false otherwise.
Examples
rascal>"abc" < "abcdef";
bool: true
rascal>"abc" < "defghi";
bool: true
rascal>"abc" < "a";
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 ask.rascal-mpl.org.