[thelist] ASP equivelant of PHPs strip_tags
Dunstan Orchard
dunstan at 1976design.com
Wed Jul 2 17:09:18 CDT 2003
Hi there,
I'm having to display databased some data as an XML feed, and so want to strip
out the HTML contained within it.
In PHP I use this to remove all the tags:
$posttitle = htmlspecialchars(strip_tags($row['posttitle']));
But ASP doesn't seem to have a similar set of functions. All I can find are
cumbersome custom functions that use Regx.
Anyone know of an ASP function I've missed? Or a good solution?
Thanks very much,
- Dunstan
---------------------------
Dorset, England
http://www.1976design.com/
http://www.orchard.it/
http://www.maccaws.org/
More information about the thelist
mailing list