Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
18
Task/String-comparison/Common-Lisp/string-comparison-1.lisp
Normal file
18
Task/String-comparison/Common-Lisp/string-comparison-1.lisp
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
>(string= "foo" "foo")
|
||||
T
|
||||
> (string= "foo" "FOO")
|
||||
NIL
|
||||
> (string/= "foo" "bar")
|
||||
0
|
||||
> (string/= "bar" "baz")
|
||||
2
|
||||
> (string/= "foo" "foo")
|
||||
NIL
|
||||
> (string> "foo" "Foo")
|
||||
0
|
||||
> (string< "foo" "Foo")
|
||||
NIL
|
||||
> (string>= "FOo" "Foo")
|
||||
NIL
|
||||
> (string<= "FOo" "Foo")
|
||||
1
|
||||
12
Task/String-comparison/Common-Lisp/string-comparison-2.lisp
Normal file
12
Task/String-comparison/Common-Lisp/string-comparison-2.lisp
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
> (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
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
> (string> "45" "12345")
|
||||
0
|
||||
> (string> "45" "9")
|
||||
NIL
|
||||
Loading…
Add table
Add a link
Reference in a new issue