|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: Regex Questionby kcott (Parson) |
| on Nov 26, 2012 at 08:12 UTC ( #1005584=note: print w/ replies, xml ) | Need Help?? |
|
G'day shealyw2, index is another option: Update: Oops! Left off the POSITION (index STR,SUBSTR,POSITION). Thanks, Ratazong. Here's an improved version.
Note: index is based at zero (1st char = 0; 3rd char = 2) -- Ken
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||