Reverse (print string reversed)

The reverse operator is used to get the reverse spelling of the value.

data(lv_revers) = reverse( ‘ABCDE’ ).

Let’s try the code above,

The returning result will be as follows

You can also type the numbers backwards,

DATA(lv_revers) = reverse( ‘12345678’ ).

Result:

Leave a Reply

Your email address will not be published. Required fields are marked *