<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 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 alternative operator I can use to check for the > presence of a specific sequence in a variable as part of a CFIF tat? Or, > and alternative way altogether to accomplish the same? > > Thanks in advance, > > Roberto > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308345 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4