|
# Comparing two strings for exact equality:
|
|
"this" == "this" # true
|
|
"this" == "This" # false
|
|
|
|
# != is the inverse of ==
|
|
|
|
# Comparing two strings to see if one is lexically ordered before the other:
|
|
"alpha" < "beta" # true
|
|
"beta" < "alpha" # false
|
|
|
|
# > is the inverse of <
|