Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
18
Task/String-comparison/Zkl/string-comparison.zkl
Normal file
18
Task/String-comparison/Zkl/string-comparison.zkl
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
"foo" == "foo" //True
|
||||
"foo" == "FOO" //False
|
||||
"foo" == "foobar" //False
|
||||
Op("==")("foo","foo") //True
|
||||
Op("==","foo")("foo") //True
|
||||
|
||||
"abc"<"cde" //True
|
||||
"abc">"cde" //False
|
||||
|
||||
"foo" == "FOO" //False
|
||||
"abc".toUpper()=="ABC" //True
|
||||
|
||||
123=="123" //False
|
||||
123=="123".toInt() //True
|
||||
|
||||
123<"123" //False, int on left forces "123".toInt()
|
||||
123<"1234" //True
|
||||
2345<"1234" //False
|
||||
Loading…
Add table
Add a link
Reference in a new issue