Hi,
Use replace with all occurances statement
Try like this
DATA: myText type string.
myText = 'abcabcabcabcabc'.
REPLACE ALL OCCURRENCES OF 'abc' IN myText WITH 'XYZ'.
Regards,
Prashant
hi Nikhil,
TRANSLATE string USING ', '.
(pls. note there is a space between , and ')
if the use wants only one space instead of n comas than you also have to:
CONDENSE string.
hope this helps
ec
Message was edited by:
Eric Cartman
Try yo use
TRANSLATE string USING ', . '. " , space . space
Regards
Add a comment