Got it!

Thanks


On Thu, 18 Sep 2003 17:50:26 +0100, Michael Traher wrote:

> I can not see the problem, but I might try a TRIM() around
> ListGetAt(Line,1,'|') in the <CFIF>.
> 
> Michael Traher 
> 
> 
> -----Original Message-----
> From: Bushy [mailto:[EMAIL PROTECTED] 
> Sent: 18 September 2003 17:38
> To: CF-Talk
> Subject: re:CONT'D.. What the heck is going on?
> 
> Hi,
> 
> I just don't see it. Why won't the below <cfif work properly?
> 
> 
> <cfset test = 'TSCE,TSED,TSEE,TSEM'>
> 
> 
> <cfloop list="#ListLoop#" Index="Line" Delimiters="#strCR#">
> 
> <!---
> The ListGetAt(Line,1,'|') can equal TSCE and others.
> --->
> 
> All I want to do is check to see if ListGetAt(Line,1,'|') is equal to a
> occurence in variable test.
> 
> Whats wrong with the <cfif syntax? It's not finding the match?
> 
> 
> <cfoutput>
> <hr>
> <cfif ListFindNoCase(test,ListGetAt(Line,1,'|'))>
> <font color="red">AAAA</font>
> <cfelse>
> <font color="blue">BBBBB</font>
> </cfif>
> env_var: #ListGetAt(Line,1,'|')#
> destination: #ListGetAt(Line,2,'|')#<br>
> <hr>
> 
> </cfoutput>
> 
> 
> </cfloop>
> 
> 
> 
> 
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137529
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Reply via email to