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:137521
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