Brad told you already: use comb.

Le mer. 6 févr. 2019 à 20:57, ToddAndMargo via perl6-users <
perl6-users@perl.org> a écrit :

> On 2/6/19 5:19 AM, Brad Gilbert wrote:
> > The reason there is a Nil, is you asked for the ord of an empty string.
> >
> >      "".ord =:= Nil
> >
> > The reason there are two empty strings is you asked for them.
>
> What would be the most practice way of converting a string to and
> array of characters?
>
> $x="abc" goes to @y[0]="a", @y[1]="b", @y[2]="c"
>

Reply via email to