[thelist] parsing and replacing info with ASP

Ryan Mayberry Ryan at applicor.com
Tue Mar 6 14:08:53 CST 2001


aaahh  that helped a little.

However it doesn't replace all instances of '  just some of them.

Any clue why that would be?

-----Original Message-----
From: Don Makoviney [mailto:DonM at allensysgroup.com]
Sent: Tuesday, March 06, 2001 1:59 PM
To: 'thelist at lists.evolt.org'
Subject: RE: [thelist] parsing and replacing info with ASP


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 ! 

---------------------------------------
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