Solved

Strip out HTML tags?

Posted on 2007-11-21
2
1,212 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

803 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