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

Extract part of string

1235 Views

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???