RosettaCodeData/Task/String-comparison/Erlang/string-comparison.erl

13 lines
164 B
Erlang

10> V = "abcd".
"abcd"
11> V =:= "abcd".
true
12> V =/= "abcd".
false
13> V < "b".
true
15> V > "aa".
true
16> string:to_lower(V) =:= string:to_lower("ABCD").
true