<cfset isOpenTag = false />

<cfset searchString = "<" & iif(isOpenTag, de("/"), de("")) & "Andy">

 

Regards

Dale Fraser

 

 <http://dalefraser.blogspot.com> http://dalefraser.blogspot.com

 

 

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Andrew Scott
Sent: Wednesday, 25 July 2007 3:30 PM
To: [email protected]
Subject: [cfaussie] Re: This should be easy:-)

 

Robin,

 

Cheers yeah that's what I did do, but was hoping that with all the new
tricks in CF8 that something like that might have been implemented as
well.... Oh well..

 

Btw, I do not see a reason that is obvious to me but this errors when it is
done this way..

 

<cfset searchString = "<" & iif(isOpenTag, "/", "") & "Andy">

 


Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273

 

 

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Robin Hilliard
Sent: Wednesday, 25 July 2007 3:16 PM
To: [email protected]
Subject: [cfaussie] Re: This should be easy:-)

 

Would this do:

 

<cfset searchString = "<" & iif(isOpenTag, "", "/") & "Andy">

 

Robin

 

Robin Hilliard

 

CEO - RocketBoots Pty Limited

Consulting . Recruitment . Software Licensing . Training

 <http://www.rocketboots.com.au> http://www.rocketboots.com.au

 

m +61 418 414 341

e [EMAIL PROTECTED]

 

 

On 25/07/2007, at 7:35 AM, Andrew Scott wrote:

 

Anyone know if CF8 can handle this expression?


<cfset searchString = "<" + (isOpenTag ? "" : "/") + "Andy" /> 

 

 



 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to