thanks heaps barneyb...

<cfset new_text = reverse(trim(mytext))>
<cfset new_text = replaceNoCase(new_text, ">tellub/<", ">lu/<>il/<", "One")>
<cfset new_text = reverse(new_text)>
<cfset new_text = replaceNoCase(new_text, "<bullet>", "<ul><li>", "One")>
<cfset new_text = replaceNoCase(new_text, "<bullet>", "<li>", "All")>
<cfset new_text = replaceNoCase(new_text, "</bullet>", "</li>", "All")>

will put this into a function and should do the trick nicely.

now if only i could work out how to do this when the text contains multiple 
list sets!!

mike 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316368
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to