Page 1 of 1

Replacing '&' with '&'

Posted: Tue Dec 15, 2009 1:07 am
by bireswar.goswami
I need to replace '&' with '&' without using xml stage in transformer. Would be great if someone can plase help me on this.

Posted: Tue Dec 15, 2009 2:26 am
by ray.wurlod
Search DSXchange for a parallel equivalent of the server routine Ereplace. It's exactly what you need.

Posted: Tue Dec 15, 2009 7:03 am
by sridinesh2009
Convert function can be used...
convert('&','&',DsLink)

Posted: Tue Dec 15, 2009 7:11 am
by priyadarshikunal
sridinesh2009 wrote:Convert function can be used...
convert('&','&',DsLink)
no, convert function can't be used in this case as it replaces one character with other. Read the manual for more details.

As Ray said there is a parallel version of ereplace posted a while ago by dsguru2b called pxereplace, which can be used in this case.