IBAN: Difference between revisions
m
→{{header|jq}}: ce
(jq) |
m (→{{header|jq}}: ce) |
||
Line 1,326:
CH93 0076 2011 6238 5295 7 is valid: true
=={{header|jq}}==
This implementation requires a version of jq with <tt>gsub</tt>.
The heart of the matter consists of just four lines of straightforward jq code:<lang jq>
# strip the input string of spaces and tabs:
gsub("[ \t]";"")
|