Ron,
 
I think
<cfset var1 = '<a href="" style="text-decoration: none">hello</a>'>
<cfset var1 = ReplaceNoCase(var1, "index.html?nextPage=1", "index2.html")>
<cfoutput>#var1#</cfoutput>
 
Will take you from
<a href="" style="text-decoration: none">hello</a>
to
<a href="" style="text-decoration: none">hello</a>
if
that's what you where going for.
 
Precia
 
 
----- Original Message -----
From: Ron Mast
Sent: Thursday, May 26, 2005 3:41 PM
Subject: ReReplaceNoCase function

Hi All,

<cfset var1 = '<a href="" style="text-decoration: none">hello</a>'>

<cfset var1 = ReReplaceNoCase(var1, ".html?nextPage=1", "index2.html", "one")>

<cfoutput>#var1#</cfoutput>

 

With the code above var1 remains the same. 

 

What am I doing wrong?

 

 

Ron Mast

Webmaster

Truth Hardware

Ph: 507-444-4748

Fx: 507-444-5361

www.truth.com

 

_______________________________

This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual to whom they are addressed.  If you are not the intended recipient or the individual responsible for delivering the e-mail to the intended recipient, please be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited.

Reply via email to