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
> 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:308342
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4