Skip to Content
0
Former Member
Sep 12, 2007 at 05:53 AM

Char increment in a String

178 Views

Hi,

Is it possible to increment each character in a string by some value.

DATA: C(10) TYPE C VALUE 'MAHES'.

Here i would like to transform and display the string like:

M + 2 = O

A + 2 = C

H + 2 = J

E + 2 = G

S + 2 = U

Pl. give me some inputs.

with best regards

Mahesh