more useful options | |
PerlMonks |
reversing substrby DaWolf (Curate) |
on Mar 11, 2002 at 04:28 UTC ( [id://150809]=perlquestion: print w/replies, xml ) | Need Help?? |
DaWolf has asked for the wisdom of the Perl Monks concerning the following question:
Greetings, fellow monks.
I have a question that's probably not original but I was unable to find it on supersearch. I know that if you put the following code: will return 34 Well, I need the opposite, meaning a substr that cuts the string from the right, not from the left... I've tried entering a negative offset - sounds logic to me - but that doesn't work... So, what's the trick? Thanks in advance, Er Galvão Abbott a.k.a. Lobo, DaWolf Webdeveloper
Back to
Seekers of Perl Wisdom
|
|