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