in reply to Testing if a string is a substring
Ouch. Do you like making life hard for yourself :)
I think you're looking for the index function.
"The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg