|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
CONTAINS issue help
okPaul Ihrig 05/08/08 12:09 P so dense some daysPaul Ihrig 05/08/08 12:45 P And to add to your dense-ness, you don't need the pounds. :)Raymond Camden 05/08/08 01:38 P ok i have a issue with Contains. and am not sure how to resolve it... in a cfoutput loop i am looking at a list of id's like "5,31" if the id is 5 or 31 it bolds some thing i was doing that by. <cfif ascList contains "#aId#"><strong>#aId#</strong><cfelse>#aId#</cfif> this was fine at first. but now i am noticing 1,3,5,31 getting bolded. not just 5 & 31... how the heck do i doan IS or EQ but kinda like a contains? i am pretty sure i would have to loop through the list and find the value. but am not suire how to write it.. does this make sense? thanks a bunch -paul so dense some days <cfif #ListFind(ascList, aId)#> And to add to your dense-ness, you don't need the pounds. :) <cfif listFind(ascList, aId)> On Thu, May 8, 2008 at 11:44 AM, Paul Ihrig <pihrig@gmail.com> wrote: > so dense some days > <cfif #ListFind(ascList, aId)#>
|
May 24, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||