[thelist] Help with a replace loop

Shinji Kuwayama shinji at kuwayama.com
Mon Jun 11 14:38:43 CDT 2001


on 6/11/01 2:30 PM, sarah at disaster7 at yahoo.com wrote:

> <cfloop query="GetKeywords">
> <cfif FindNoCase(x,theString) is not 0>
> <cfset theString = ReplaceNoCase(theString,x,'<a
> href="#link#"><cfoutput>#x#</cfoutput></a>',"ALL")>
> </cfif> 
> </cfloop>

Works great. I was hoping it would be that simple. Thanks a lot!

-- 
Shinji Kuwayama
Director, Internet Development
http://www.internetcoach.com/





More information about the thelist mailing list