in reply to Re: get last characters out of string?
in thread get last characters out of string?
Maybe he thought he had to do
my $start = length($str) - 60; $start = 0 if $start < 0; $substr = substr($str, $start);
and was looking for a simpler right function? True, he should have read the docs closer, but *understanding* the docs can sometimes be hard.
|
|---|