Problems? Is your data what you think it is? | |
PerlMonks |
Re: How can I find the first position of a string within a stringby chipmunk (Parson) |
on Dec 01, 2000 at 19:46 UTC ( [id://44380]=note: print w/replies, xml ) | Need Help?? |
How about a regex?
I use a positive lookahead assertion so that pos() will correspond to the start of the match, rather than the end.
In Section
Seekers of Perl Wisdom
|
|