Hi All -
I am trying to find if a particular string has html tags in it. For example
<cfset myStr = "<p>Hello WOrld</p>">
I am using the following line of code to see if p tags exist
<cfoutput>#FindNoCase("<p>",htmlCodeFormat(myStr))#</cfoutput>
The above always returns 0. Do I need to use regex to achieve the desired
result?
Thanks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351475
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm