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
661

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
639

Hi,

Please try this.


TRANSLATE STRING USING ', '.

Regards,

Ferry Lianto

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

3 REPLIES 3
Read only

Former Member
0 Likes
640

Hi,

Please try this.


TRANSLATE STRING USING ', '.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
639

DATA: TEXT TYPE STRING.

TEXT = 'Hello,World'.

REPLACE ',' WITH SPACE INTO TEXT.

WRITE: TEXT.

Greetings,

Blag.

Read only

0 Likes
639

Friends,

Thanks for your response. It has been solved using

TRANSLATE string USING ', '.

Regards,

Amal

Message was edited by:

Amal