There is a space at the beginning of the second list element which is 
considered part of the element. Remove the space and you get the proper result. 

> Does anyone know the list below returns 0? The function recognises the 
> first value but ignores the second value in the list
> 
> Thanks
> 
 
> <cfset ListNames = "20071010_376, 20071016_392">
 
> <cfoutput>#ListFindNoCase(ListNames, "20071016_392")#</cfoutput>
> 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293613
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to