in reply to
Substring comparison
Use the
index
function. It does exactly this. See the manual page.
Comment on
Re: Substring comparison
Download
Code
In Section
Seekers of Perl Wisdom