Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: find a substring of unknown length if it is in a hashby Eily (Monsignor) |
on Jun 29, 2015 at 09:20 UTC ( [id://1132433]=note: print w/replies, xml ) | Need Help?? |
Providing some code is a good start, but please try to write something that compiles (if you did manage to compile your code, this means you didn't actually use strict). What you are looking for is the index function (although a regex would also work, but index is easier to use and understand).
In Section
Seekers of Perl Wisdom
|
|