substr is the way to go:
use strict; use warnings; my $str = '1234567890' x 10; print substr $str, -60;
Prints:
123456789012345678901234567890123456789012345678901234567890
In reply to Re: get last characters out of string?
by GrandFather
in thread get last characters out of string?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |