|
|
| There's more than one way to do things | |
| PerlMonks |
Re: Testing if a string is a substringby Zaxo (Archbishop) |
| on Jul 20, 2005 at 05:01 UTC ( [id://476433]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
That is what index is made for: You may just want to call index directly, since it returns the location in $string of the first match. After Compline,
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||