I'm pretty sure you need a DE in there too...

Something like this should work

<cfset sFoo = "The time is ##Now()##" />
<cfoutput>#sFoo#<br /><br />#Evaluate(DE(sFoo))#</cfoutput>


On 25/09/2008, Derek Hedstrom <[EMAIL PROTECTED]> wrote:
> Rob,
>
>  I was afraid of that. :(
>
>  No one here was able to come up with a better way than you outlined.
>
>  Thanks,
>  derekhed
>
>
>  >Derek,
>  >What you are trying to do will actually be better accomplished by using the
>  >replace function.
>  >
>  >Replace(string, substring1, substring2 [, scope ])
>  >
>  ><cfset outval = replace("#foo#", "#bar#", #bar#)>
>  >
>  >Although if it were me, I would change the value in the database that you
>  >want to be "bar" to be @@bar@@, making it unique, therefore your replace
>  >will have more success, and less chance of replacing something you don't
>  >want to.
>  >
>  >Rob
>  >
>  >Oh, and for information on tags, the livedocs are great, and yes, this list!
>  >
>  >
>  >
>  >>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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-Newbie/message.cfm/messageid:4024
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to