If memory serves me, you can do: My Name CONTAINS "ray, bob"
though. So, the original poster could do: <cfif #LCase(ListGetAt(GetFontFamily.sti,1,'.'))# CONTAINS 'aachen, adelon'> At 11:59 AM 02/06/2002 -0500, you wrote: >You must have a proper expression on both sides of the OR statement. >Here is what you wrote, in pseudo code: > >if my name is 'ray' or 'bob' > >This is not valid. It must be > >if my name is 'ray' OR my name is 'bob' > >>==================================================================== >Raymond Camden, Principal Spectra Compliance Engineer for Macromedia > >Email : [EMAIL PROTECTED] >Yahoo IM : morpheus > >"My ally is the Force, and a powerful ally it is." - Yoda > > > -----Original Message----- > > From: phumes1 [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, February 06, 2002 11:58 AM > > To: CF-Talk > > Subject: Re: <CFIF statement > > > > > > Hi, > > > > I have a problem with the syntax below. > > > > This works: > > > > <cfif #LCase(ListGetAt(GetFontFamily.sti,1,'.'))# CONTAINS 'aachen' > > > ...code... > > <cfelse> > > ...code... > > </cfif> > > > > > > This does not: > > > > <cfif #LCase(ListGetAt(GetFontFamily.sti,1,'.'))# CONTAINS > > 'aachen' OR > > 'adelon'> > > ...code... > > <cfelse> > > ...code... > > </cfif> > > > ______________________________________________________________________ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

