Skip to Content
0
Former Member
Jan 17, 2008 at 12:58 AM

Need to delete the last 2 character from a string

27 Views

Hi,

I need to delete the last 2 character from a string.

I am using strlen to identify its lenght. If someone can guide how its should be done.

after this two step I tired using

w_string2 = w_string + w_level_03.

w_string = it_cc-prctr.

w_level_03 = strlen( W_STRING ) - 2.

w_string2 = w_string + w_level_03.

the third step is adding the record not deleting the last character/ number from the string.