PDA

View Full Version : Replace


crmpicco
05-04-2005, 12:23 PM
This should be simple, but it's got me: how do you use 'Replace' to
replace double quotes? This won't work:

Replace(strString,""","'")

to replace the double quotes with singles, for instance. I just know I'm
missing something obvious here.

Thanks.

Brandoe85
05-04-2005, 08:27 PM
Try this:

strSomthing = replace(strSomthing, chr(34), "'")

oracleguy
05-04-2005, 08:29 PM
This should work as well but I didn't test it:

Replace(strString, """", "'")