more useful options | |
PerlMonks |
Re^2: Substring comparisonby flaviodesousa (Initiate) |
on May 01, 2012 at 15:55 UTC ( [id://968290]=note: print w/replies, xml ) | Need Help?? |
As trammell pointed out index() returns 0 if the sought for string is the beginning. Try this:
In Section
Seekers of Perl Wisdom
|
|