dammit...yeah, i was backwards. was a long night :)
On Thu, 24 Mar 2005 01:34:18 -0500, Jim Davis <[EMAIL PROTECTED]> wrote: > > -----Original Message----- > > From: Charlie Griefer [mailto:[EMAIL PROTECTED] > > Sent: Thursday, March 24, 2005 12:19 AM > > To: CF-Talk > > Subject: Re: list problem, displaying "CHECKED" listboxes > > > > you want to use listContains() instead of listFind(), I believe. > > I think that Charlie means the other way around, reversed, back-a-ward to > for-a-ward. You want to use ListFind() > > "ListContains()" returns true of the string exists in ANY of the list > elements: so "1", "2" and "12" are all contained in the list "12". > > However "ListFind()" matches the exact element - so "1" and "2" cannot be > found in the list "12" but "12" (obviously) can be. > > "Contains" in CF is always a content search, not a match (you can use > "Contains" as an evaluation operator as well). > > Jim Davis > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199888 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

