RE: Removing html tags stored with text in a database THE CODE

2002-06-25 Thread Phoeun Pha
Here this works perfect. The final stuff will be in the variable called TEMP, so just cfoutput it somewhere. you owe me! :) Profile is the variable of the company profile, of course. change it to whatever you wish. dont change anything else CFSET temp=profile CFLOOP index=index from=1

Re: Removing html tags stored with text in a database THE CODE

2002-06-25 Thread Charlie
heythanks.this worksmuch appreciated! CFSET temp=profile CFLOOP index=index from=1 to=1000 CFSET temp2 = Findnocase(,trim(temp),1) CFSET temp3 = Findnocase(,trim(temp),1) CFIF temp2 EQ 0 CFBREAK /CFIF CFSET temp= removechars(temp, temp2, evaluate((temp3-temp2)+1)) /CFLOOP