![]() |
|
go ahead... be a heretic | |
PerlMonks |
Re^2: remove first and last character of stringby flieckster (Scribe) |
on Oct 14, 2020 at 02:44 UTC ( #11122804=note: print w/replies, xml ) | Need Help?? |
Thanks Rob, but is there a way use this Or remove the last character of $str : substr($str, length($str) - 1, '') to remove the last and first in one line?
In Section
Seekers of Perl Wisdom
|
|