RosettaCodeData/Task/String-matching/Jq/string-matching-1.jq

4 lines
61 B
Plaintext

# startswith/1 is boolean:
"abc" | startswith("ab")
#=> true