ReplaceNoCase - Replace moren than 1 argument

2007-08-06 Thread nicolai bass dh
Hello, i am a real newbie on coldfusion development and this is my first posting in this newsgroup. I want to replace more than 2 arguments in a text with the ReplaceNoCase function. Thank you for your help and with best regards Stivn

RE: ReplaceNoCase - Replace moren than 1 argument

2007-08-06 Thread Andy Matthews
either 'Andy' OR 'Stivn' with the string 'John'. Andy matthews -Original Message- From: nicolai bass dh [mailto:[EMAIL PROTECTED] Sent: Monday, August 06, 2007 9:22 AM To: CF-Talk Subject: ReplaceNoCase - Replace moren than 1 argument Hello, i am a real newbie on coldfusion

Re: ReplaceNoCase - Replace moren than 1 argument

2007-08-06 Thread nicolai bass dh
Hi Andy, thank your for your quick answer. But i have another question. You have explain me how i can replace 2 arguments with one new argument. But how can i replace 2 arguments with 2 new arguments. For example replace andy with first example and stivn with second example Thank your for

Re: ReplaceNoCase - Replace moren than 1 argument

2007-08-06 Thread Kris Jones
Or, if you're trying to replace more than one instance of the string with your new expression, make sure you use the scope parameter of ALL: replacenocase(mystring, searchexpression, newexpression, ALL) i am a real newbie on coldfusion development and this is my first posting in this

Re: ReplaceNoCase - Replace moren than 1 argument

2007-08-06 Thread Kris Jones
Hi Stivn, You'd can call the replacenocase function twice: cfset mystring=replacenocase(mystring,searchstring1,replacestring1,ALL) / cfset mystring=replacenocase(mystring,searchstring2,replacestring2,ALL) / Cheers, Kris But how can i replace 2 arguments with 2 new arguments. For example

RE: ReplaceNoCase - Replace moren than 1 argument

2007-08-06 Thread Andy Matthews
moren than 1 argument Hi Andy, thank your for your quick answer. But i have another question. You have explain me how i can replace 2 arguments with one new argument. But how can i replace 2 arguments with 2 new arguments. For example replace andy with first example and stivn with second example