[thelist] VBScript: replace double quotes
Craig Burkett
cburkett at triad.rr.com
Tue Aug 17 14:32:52 CDT 2004
Inside of a literal string you have to use the escape sequence of two
double quotes to represent a single double quote within a string.
For example:
Replace(strString,"""","'")
-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Joel D Canfield
Sent: Tuesday, August 17, 2004 2:56 PM
To: thelist at lists.evolt.org
Subject: [thelist] VBScript: replace double quotes
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
--
News! - Evolt.org conference for web professionals.
17-19 September 2004 in Toronto, Canada.
Details at http://TOevolt.org
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
More information about the thelist
mailing list