Skip to Content
0
Former Member
Jun 06, 2007 at 11:38 AM

escape character

51 Views

Hello,

I need to build a function that replace the character "," by the string " ',' "

Example: Char1: 1,2,3

Char1 after conversion: 1','2','3

I m using the code:

DATA text TYPE string VALUE '1,2,3,4'.

REPLACE ALL OCCURRENCES OF REGEX ',' IN text WITH __?____.

I don´t know how to use the "escape character" so as to I can use the charater " ' " after of with.

Can someone help me ??

Thanks