in reply to Re^2: substring problem???
in thread substring problem???

No need for the 3rd parameter if you need the whole rest of the string. Just
substr($string, -4)
will do.