RosettaCodeData/Task/String-comparison/Common-Lisp/string-comparison-2.lisp

13 lines
208 B
Common Lisp

> (string-equal "foo" "FOo")
T
> (string-not-equal "foo" "FOO")
NIL
> (string-greaterp "foo" "Foo")
NIL
> (string-lessp "BAR" "foo")
0
> (string-not-greaterp "foo" "Foo")
3
> (string-not-lessp "baz" "bAr")
2