cancel
Showing results for 
Search instead for 
Did you mean: 

Replace Statement

Former Member
0 Kudos

Hello,

I would like to replace [CRLF] in the text with space. I tried:

=REPLACE(@shipmentText,"[CRLF]"," ") 

but that just replaces CRLF instead of [CRLF] (with squarebrackets).

Any ideas,....

Best regards,

Dharmi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Dharmi,

The string to replace is being treanstlated to RegularExpression.

Try the following:

=REPLACE(@shipmentText,"\[CRLF\]"," ")

Regards,

Udi

Former Member
0 Kudos

Thanks Udi.

Former Member
0 Kudos

Hi Udi,

Do you know how to put an enter instead of the space?

Hoping for prompt reply again.

Best regards,

Dharmi

Former Member
0 Kudos

Hi Dharmi,

Try this...

=REPLACE(@shipmentText,"[CRLF]",CHR(10))

Regards,

Udi

Answers (0)