Determine if a string has all unique characters: Difference between revisions
Determine if a string has all unique characters (view source)
Revision as of 06:52, 9 February 2023
, 1 year ago→{{header|jq}}: simplify
(→{{header|Vlang}}: Rename "Vlang" in "V (Vlang)") |
(→{{header|jq}}: simplify) |
||
Line 2,366:
def hex:
def stream:
recurse(if . >=
if type=="string" then explode[0] else . end
|
| map(if . < 10 then 48 + . else
def lpad($len): tostring | " " * ($len - width) + .;
|