Heh... Thanks for the plug Cedric. :)

It's not a native function. It's on http://www.cflib.org tho...

http://www.cflib.org/udf.cfm?ID=774

Oddly enough I've not used it in a while... I've been validating
XML-compliant input and using XSL to strip unwanted tags lately. But
if you don't want to go to that level of complexity, this regex-based
function should handle most stripping needs.

> Can you point me to where to look for it, please?  CFML
> Reference has no record bout this function.

> --
> Oleg Gunkin
> Email: [EMAIL PROTECTED]
> Phone: (604) 666-9392
> Emerging Technologies / Pacific Web Services
> Information Technology Services
> Public Works and Government Services Canada (Pacific)

> -----Original Message-----
> From: Cedric Villat [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 03, 2006 12:26
> To: CF-Talk
> Subject: Re: StripHtml function that allows some tags


> Go look for a function called StripTags. It will do
> exactly what you want. You can either pass it a list of
> tags you want to keep, or to strip. It works great!

> Cedric

s. isaac dealey     434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234151
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to