I'm using cr8.5 with Oracle
I need to do a replace on a text string so that where ever there is two carriage returns in a row I will only have one. I know how to replace one carriage return:
replace({table.text},chr(13)," ")
I can't figure out the correct syntax for the replace when I'm trying to find two chr(13) in a row.
replace({table.text},"chr(13)chr(13)"," ")
I need to do a replace on a text string so that where ever there is two carriage returns in a row I will only have one. I know how to replace one carriage return:
replace({table.text},chr(13)," ")
I can't figure out the correct syntax for the replace when I'm trying to find two chr(13) in a row.
replace({table.text},"chr(13)chr(13)"," ")