Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

remove '&' character from a string

798344Sep 16 2010 — edited Sep 16 2010
Hi,

I need to remove '&' from a string.
example:
string = 'HH&GG',
desired result = 'HH GG' OR 'HH,GG'

Tried 'replace', 'substr' functions, along with 'set ESCAPE '&'.
They don't work. '&' is treated as an input place holder. How can replace/remove an '&' from a string?

Thanks,
Radhika.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 14 2010
Added on Sep 16 2010
7 comments
852 views