slicendice
Programmer
Hi
I have a string in a PL/SQL program that may contain various characters that are unwanted (for example commas, full stops, hyphens, etc) which I need to strip out. I know the REPLACE function can be used to get rid of single characters (e.g. REPLACE('ab-cd', '-') will give just 'abcd') - what I'm wondering is, is it possible to remove several different characters from a string in one go? Or am I going to have to have multiple calls to REPLACE to remove each individual unwanted character?
Thanks very much
I have a string in a PL/SQL program that may contain various characters that are unwanted (for example commas, full stops, hyphens, etc) which I need to strip out. I know the REPLACE function can be used to get rid of single characters (e.g. REPLACE('ab-cd', '-') will give just 'abcd') - what I'm wondering is, is it possible to remove several different characters from a string in one go? Or am I going to have to have multiple calls to REPLACE to remove each individual unwanted character?
Thanks very much