I know this has already been answered, but usually you can do things more efficiently on the string itself...what are you trying to do? Tanton ----- Original Message ----- From: "Erik Browaldh" <eribro@Pool.Informatik.RWTH-Aachen.DE> To: <beginners@perl.org> Sent: Monday, December 09, 2002 7:24 AM Subject: transforming strings to an array of characters > hi everyone! > > if I have a string, lets say > $word="perl"; > > I want to copy this so I have something like this: > @word_list["p","e","r","l"] > > also, how do I get the length of @word_list? > > thanks in advance! > Erik > > > > > > -- > To unsubscribe, e-mail: beginners-unsubscribe@perl.org > For additional commands, e-mail: beginners-help@perl.org > > >Thread Previous | Thread Next