String Operation – Reverse

Program

DATA str1 TYPE string VALUE ‘SAP ABAP PROGRAM’,
str2 TYPE string VALUE .

WRITE :‘Before Reverse:’str1.

str2 reversestr1 ). ” reverse () function in ABAP

WRITE :‘Aftre Reverse:’str2.


Output

















———————————————————————————————————————————

 

2 comments

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s