Skip to Content
Former Member
Dec 25, 2007 at 07:14 AM

Extract part of string


I have a string of max length 40 characters. The string may contain 20 characters also with remaining 20 characters as 'SPACE'. Now from this string i want to fetch last four characters only

e.g. If my string contains " ABCDEFGH ", then from this i want to fetch only last 4 characters i.e. "EFGH" only.

How do i do it???