in reply to Find Comma in a string
$_ = q(joe,is,at,home,and,going,to,market,); while(/\,/g){ print pos()," "; } [download]
Answer:
4 7 10 15 19 25 28 35