in reply to Re: substring problem???in thread substring problem???
print substr($string, -4, 4); [download]
substr($string, -4) [download]