This page basically shows you everything you can use in a cfif
http://livedocs.adobe.com/coldfusion/7/htmldocs/00000928.htm
You are probably looking for the "contains" operator.
CFIF isDefined("FullName") and FullName contains "Jr."
~Brad
-----Original Message-----
From: Roberto Perez [mailto:[EMAIL 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.", for instance. I know I cannot
have:
CFIF isDefined("FullName") and FullName IN "Jr."
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:308343
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4