in reply to Find Comma in a string
$_ = "joe,is,at,home"; my @pos; push @pos, pos()-1 while /,/g; print "@pos\n"; [download]
-- Mike
-- just,my${.02}