House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

CONTAINS issue help

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
ok
Paul Ihrig
05/08/08 12:09 P
so dense some days
Paul Ihrig
05/08/08 12:45 P
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Paul Ihrig
05/08/2008 12:09 PM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Paul Ihrig
05/08/2008 12:45 PM

so dense some days <cfif #ListFind(ascList, aId)#>

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Raymond Camden
05/08/2008 01:38 PM

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)#>


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference