[thelist] VBScript: replace double quotes

Pearson, John JOHN.PEARSON at eia.doe.gov
Tue Aug 17 14:38:03 CDT 2004


try replace(strString,"""","'")

 | -----Original Message-----
 | From: Joel D Canfield [mailto:joel at spinhead.com]
 | 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