Jump to content

String comparison: Difference between revisions

Added Erlang
(add Forth (can't collate or compare case-insensitive))
(Added Erlang)
Line 314:
}</lang>
 
 
=={{header|Erlang}}==
Examples from Erlang shell:
 
<lang 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
</lang>
 
=={{header|F_Sharp|F#}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.