Solved

Strip out HTML tags?

Posted on 2007-11-21
2
1,210 Views
Last Modified: 2013-12-24
Isn't there a CF tag I can use that will strip out html tags on a variable?

I have a variable I'm getting back like so....<icon>35</icon> that I need to clear out the tags in order to display it correctly.

Thanks
0
Comment
Question by:brihol44
2 Comments
 
LVL 52

Accepted Solution

by:
_agx_ earned 250 total points
ID: 20330283
You might try one of the functions at cflib.org
StripHTML(string)
http://cflib.org/udf.cfm?ID=12
RemoveHTML(source)
http://cflib.org/udf.cfm?ID=1677
0
 

Author Closing Comment

by:brihol44
ID: 31427342
Thanks agx! I was looking for something like that.
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now