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.
In reply to Re^2: get last characters out of string?
by ikegami
in thread get last characters out of string?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |