my $string = "Hello World"; my $revcopy = reverse $string; print chop($revcopy) . "\n" for 1 .. length($string);
while (defined(my $chr = chop $revcopy)) { print "$chr\n"; }
In reply to Re: How to get each character in string value
by repellent
in thread How to get each character in string value
by dharanivasan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |