Operators comparing strings (characters)
- characters are compared in ABC order (but not ASCII order!)
"a" < "b" # TRUE
"a" < "A" # TRUE
"abc" < "abd" # TRUE
2 < 11 # TRUE
"2" < "11" # FALSE
2 < "a" # TRUE
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
"a" < "b" # TRUE
"a" < "A" # TRUE
"abc" < "abd" # TRUE
2 < 11 # TRUE
"2" < "11" # FALSE
2 < "a" # TRUE