[thelist] VBScript: replace double quotes
Peter Brunone (EasyListBox.com)
peter at easylistbox.com
Tue Aug 17 14:26:31 CDT 2004
Joel,
You have to escape the double quotes since they represent the ends of the string. In VBScript, this is done by doubling the double quotes.
Replace(strString, """", "'")
Cheers,
Peter
Original Message:
>From: "Joel D Canfield" <joel at spinhead.com>
>To: <thelist at lists.evolt.org>
>Subject: [thelist] VBScript: replace double quotes
>Date: Tue, 17 Aug 2004 11:55:43 -0700
>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.
>
>joel
More information about the thelist
mailing list