[thelist] VBScript: replace double quotes

Anthony Baratta Anthony at Baratta.com
Tue Aug 17 14:38:13 CDT 2004


Joel D Canfield wrote:

> This should be simple, but it's got me: how do you use 'Replace' to
> replace double quotes? This won't work:
> 
>     Replace(strString,""","'")

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

You need to escape the " with another ".

--
Anthony Baratta

"I used to think the brain was the most
  important part of my body, until I realized
  what was telling me that." - Emo Phillips


More information about the thelist mailing list