2014 Jan 29 3:25 PM
Hi,
I am trying to replace a special charater(/) from a text by ' / '(space slash space) but replace function is not adding the space after slash(/). I am using following syntax
REPLACE ALL OCCURRENCES OF '/' IN ls_address-line WITH ' / '.
Above syntax does insert space before slash but not after. Can someone please help?
Thanks,
Sanjay
2014 Jan 29 3:30 PM
Hi,
I am trying to replace a special charater(/) from a text by ' / '(space slash space) but replace function is not adding the space after slash(/). I am using following syntax
REPLACE ALL OCCURRENCES OF '/' IN ls_address-line WITH ' / '.
Above syntax does insert space before slash but not after. Can someone please help?
Thanks,
Sanjay
2014 Jan 29 3:30 PM
2014 Jan 29 3:42 PM
2014 Jan 29 3:51 PM
No problem, it was just a question of literals ("Text field literals" vs "String literals") and back quotes.
Regards,
Raymond