5 lines
163 B
Text
5 lines
163 B
Text
$ cat String_length.jq
|
||
def describe:
|
||
"\(.) has \(length) codepoints and \(utf8bytelength) bytes";
|
||
|
||
("J̲o̲s̲é̲", "𝔘𝔫𝔦𝔠𝔬𝔡𝔢") | describe
|