Solved

Strip out HTML tags?

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

Suggested Solutions

Title # Comments Views Activity
json_decode return null? 8 70
Script 12 138
htaccess restrict subdomain 4 89
CFFILE upload help 98 138
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

863 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

27 Experts available now in Live!

Get 1:1 Help Now