in reply to foreach (each character in string..)?
$string = "this is a test"; foreach $char (split //, $string) { print "$char\n"; } [download]
-Kurt