On Monday, August 18, 2003, at 10:29 AM, awards wrote:

Hi,

I have no idea how to do this.
I have a name
Anthony Bob
I want to put each letter in an array (no space)

my $name = 'Anthony Bob'; $name =~ tr/ //d; # remove the space my @letters = split //, $name;

for(0..$numbersofletters){
@letters[c]= A LETTER
}
so when i do print @letters i get

print "$_\n" foreach @letters;


Hope that helps.

James

A
N
T
H
O
N
Y
B
O
B
something like that, any help is appreciated.
Anthony



--
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