Re: use of IN operator in CFIF tag

2008-07-02 Thread Roberto Perez
You are probably looking for the contains operator. CFIF isDefined(FullName) and FullName contains Jr. Yes! That's exactly what I was looking for. Strange, when I typed contain, contains, and contained in the Using ColdFusion option in Dreamweaver, it did not show that operator as part of

Re: use of IN operator in CFIF tag

2008-07-02 Thread Roberto Perez
How about using FindOneOf? cfif isDefined(FullName) AND findOneOf(jr, mr, mrs,FullName) This is a good option, I didn't think of checking for multiple abbreviations (e.g., II, III, Sr., etc.). Thanks, Roberto ~| AdobeĀ®

use of IN operator in CFIF tag

2008-06-30 Thread Roberto Perez
Hi all, Is it possible to use IN (or a similar syntax) as part of a CFIF tag? Let's say that I have a variable (FullName) and I want to know if that string includes the contraction Jr., for instance. I know I cannot have: CFIF isDefined(FullName) and FullName IN Jr. but is there any

RE: use of IN operator in CFIF tag

2008-06-30 Thread Douglas Brownell
) [EMAIL PROTECTED] www.csioklahoma.com -Original Message- From: Roberto Perez [mailto:[EMAIL PROTECTED] Sent: Monday, June 30, 2008 4:48 PM To: CF-Talk Subject: use of IN operator in CFIF tag Hi all, Is it possible to use IN (or a similar syntax) as part of a CFIF tag? Let's say that I have

Re: use of IN operator in CFIF tag

2008-06-30 Thread morgan l
Look into the Find() or FindNoCase() functions to do this. On Mon, Jun 30, 2008 at 3:47 PM, Roberto Perez [EMAIL PROTECTED] wrote: Hi all, Is it possible to use IN (or a similar syntax) as part of a CFIF tag? Let's say that I have a variable (FullName) and I want to know if that string

RE: use of IN operator in CFIF tag

2008-06-30 Thread Brad Wood
PROTECTED] Sent: Monday, June 30, 2008 3:48 PM To: CF-Talk Subject: use of IN operator in CFIF tag Hi all, Is it possible to use IN (or a similar syntax) as part of a CFIF tag? Let's say that I have a variable (FullName) and I want to know if that string includes the contraction Jr

Re: use of IN operator in CFIF tag

2008-06-30 Thread Randi Knutson
cf-talk@houseoffusion.com on Monday, June 30, 2008 at 1:47 PM -0700 wrote: CFIF isDefined(FullName) and ( FullName IN Jr. How about using FindOneOf? cfif isDefined(FullName) AND findOneOf(jr, mr, mrs,FullName) ~| AdobeĀ®

Re: use of IN operator in CFIF tag

2008-06-30 Thread Josh Nathanson
cfif findnocase( Jr., FullName ) -- Josh - Original Message - From: Roberto Perez [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, June 30, 2008 1:47 PM Subject: use of IN operator in CFIF tag Hi all, Is it possible to use IN (or a similar syntax) as part