Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 800a03ee replace " with "
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

ILLHILL
Junior Member

Netherlands
341 Posts

Posted - 14 April 2007 :  08:03:33  Show Profile
Hi, I'm trying to clean up a string for parsing and have filtered
out the ampersands etc. However quotes seem to be a problem:


arrItemTitle08(a) = replace(arrItemTitle08(a), """, " & quot ; ")


(I added the spaces in & quot ; just as to show, because my browser
was replacing the space less quote-code with a ")


Resulting in the following:


Microsoft VBScript compilation  error '800a03ee'

Expected ')'

file.asp, line 80

arrItemTitle08(a) = replace(arrItemTitle08(a), """, " & quot ; ")
----------------------------------------------------------^


Somebody know how to replace the quote? (I tried putting it between '' but to no avail).

Greets & thanks,

Dominic

CLPPR.com - All The News Only Seconds Away

Edited by - ILLHILL on 14 April 2007 08:05:23

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 14 April 2007 :  08:33:40  Show Profile  Visit HuwR's Homepage
this bit is wrong, you need an extra "

arrItemTitle08(a), """, should be

arrItemTitle08(a), """",
Go to Top of Page

ILLHILL
Junior Member

Netherlands
341 Posts

Posted - 15 April 2007 :  16:02:16  Show Profile
Thanks! That was what I needed :)

Appreciate it HuwR!

Greets & thanks, Dominic

CLPPR.com - All The News Only Seconds Away
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07