Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/String-comparison/Jq/string-comparison-1.jq
Normal file
11
Task/String-comparison/Jq/string-comparison-1.jq
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Comparing two strings for exact equality:
|
||||
"this" == "this" # true
|
||||
"this" == "This" # false
|
||||
|
||||
# != is the inverse of ==
|
||||
|
||||
# Comparing two strings to see if one is lexically ordered before the other:
|
||||
"alpha" < "beta" # true
|
||||
"beta" < "alpha" # false
|
||||
|
||||
# > is the inverse of <
|
||||
1
Task/String-comparison/Jq/string-comparison-2.jq
Normal file
1
Task/String-comparison/Jq/string-comparison-2.jq
Normal file
|
|
@ -0,0 +1 @@
|
|||
("AtoZ" | ascii_upcase) == ("atoz" | ascii_upcase) # true
|
||||
Loading…
Add table
Add a link
Reference in a new issue