[thelist] parsing and replacing info with ASP
Don Makoviney
DonM at allensysgroup.com
Tue Mar 6 13:57:07 CST 2001
strText=Replace(strText,"'","'")
Response.Write strText
strText is the variable for the text from your database.
HTH,
Don
-----Original Message-----
From: Ryan Mayberry [mailto:Ryan at applicor.com]
Sent: Tuesday, March 06, 2001 2:54 PM
To: 'thelist at lists.evolt.org'
Subject: [thelist] parsing and replacing info with ASP
Hi..
I'm working on syndicating some content and information.. currently I am
grabbing an XML feed and dumping it into a SQL database. When displaying
this information I need to parse the data and look for elements such as
chr(10) or chr(13) and replace with the appropriate HTML code.
Most of the paragraph breaks I can find and replace with no issues.. however
I am having issues with '
There are instances where ' is already in the data I have received but
it's not displaying as an apostrophe when pulled into the web page.
The page renders as..
Ryan's web page
instead of...
Ryan's Web Page
If that makes sense to anyone, I hope you also have some suggestions as to
what I can do.
Thanks billions.
Ryan
---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt !
More information about the thelist
mailing list