I'm trying to replace all the double quotes in a string with 2 double quotes.
Ex.
this is a "string" with quotes
I want to change it to this:
this is a ""string"" with quotes
The replace function gives me an error when i use it like this:
replace(thestring,""",""""
i also tried:
replace( thestring,chr(34),""""- no error but the output is the same with only 1 set of double quotes.
Any ideas?
Thanks
Ex.
this is a "string" with quotes
I want to change it to this:
this is a ""string"" with quotes
The replace function gives me an error when i use it like this:
replace(thestring,""",""""
i also tried:
replace( thestring,chr(34),""""- no error but the output is the same with only 1 set of double quotes.
Any ideas?
Thanks