How to replace u2018 changed u2018spaceu2019
I have a problem in replaced character u2018 with u2018 u2018.
for example: STR1 is 'ABC'EFGHI' ,
I want changed 'ABC EFGHI'
How can I do
check the following code
text-001 : ABC'DEF
text-002 : '
DATA: str(7) TYPE c, sub(1) TYPE c, new(1) TYPE c. START-OF-SELECTION. str = text-001. sub = text-002. new = ' '. WRITE / str. REPLACE sub WITH new INTO str. WRITE / str.