Operators comparing strings (characters)
- characters are compared in ABC order (but not ASCII order!)
examples/basics/compare_strings.R
"a" < "b" # TRUE "a" < "A" # TRUE "abc" < "abd" # TRUE 2 < 11 # TRUE "2" < "11" # FALSE 2 < "a" # TRUE
"a" < "b" # TRUE "a" < "A" # TRUE "abc" < "abd" # TRUE 2 < 11 # TRUE "2" < "11" # FALSE 2 < "a" # TRUE