In Perl 6 you get list length using `elems`. E.g. for a string: > "A".elems 1 > "string".elems 1 > "".elems 1
@andrewp823 According to http://doc.perl6.org/type/Str#method_length … you have to use `chars`. Not sure why they didn't use `length`.
-
-
@qntm@andrewp823 how do you find the length of the Unicode šțřîñğ? - 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.