go ahead... be a heretic | |
PerlMonks |
Re: searching backwards in a stringby Kevman (Pilgrim) |
on Jun 13, 2000 at 23:47 UTC ( [id://17962]=note: print w/replies, xml ) | Need Help?? |
Being new to perl, please dont flame me. But, why cant you store the string in reverse in another string, and then work forwards... Eg. This sets str_rev to "hgfedcba".
In Section
Seekers of Perl Wisdom
|
|