No Jaime,

this kind of replace works just fine:
<CFSET x=replace(x, 'me', 'you', 'all')>

I use it happily all the time.  It's as valid as <CFSET x=x+1>

I think Michael just has a scoping problem, mixing FORM scope with local
variables, that's all.

Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork


-----Original Message-----
From: Jaime Garza [mailto:[EMAIL PROTECTED]]

I have dealt with this case before.  I don't think it's the replace.  But
rather that the cfset will not replace pattern_name just like that.

Try <cfset tmp_pattern_name=...> and then on your values instead of
'#Form.pattern_name#' use '#tmp_pattern_name#'

I hope it helps.


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to