Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Repacing COMMA with space in a string

former_member671224
Participant
0 Likes
577

Hi,

I need to replace the comma ( , ) with space ( ) in a string. the space should not be condensed. Can anyone tell me how to do it.

Its very urgent.

Regards,

Amal

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
555

Hi,

Please try this.


TRANSLATE STRING USING ', '.

Regards,

Ferry Lianto

3 REPLIES 3
Read only

Former Member
0 Likes
556

Hi,

Please try this.


TRANSLATE STRING USING ', '.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
555

DATA: TEXT TYPE STRING.

TEXT = 'Hello,World'.

REPLACE ',' WITH SPACE INTO TEXT.

WRITE: TEXT.

Greetings,

Blag.

Read only

0 Likes
555

Friends,

Thanks for your response. It has been solved using

TRANSLATE string USING ', '.

Regards,

Amal

Message was edited by:

Amal