XP is just a number | |
PerlMonks |
Re: index() problemby welchavw (Pilgrim) |
on Feb 06, 2004 at 02:50 UTC ( [id://326970]=note: print w/replies, xml ) | Need Help?? |
Two approaches, one simple, one less so...
Note, that for position, you may want to subtract one from the result, as these approaches give 1-based answers. ,welchavw
In Section
Seekers of Perl Wisdom
|
|