Skip to Content
0
Former Member
Jun 13, 2005 at 08:35 AM

REMOVING 2 chars from right side of the string

21 Views

Hi Experts,

I would like to remove 2 chars from the right side of the string, could u please suggest me a suitable method with example, it will be of great help. The given string is of variable length

Example:

String Expected Result

ABCDEFGHIJ40 ABDCEFGHIJ

HHJGYFHRS00 HHJGYFHRS

UYUIF77 UYUIF

Thanks,

Prabhu.