@word_list = split //, $word;

$nrOfLetters = @word_list;

Erik Browaldh wrote:
> 
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to