No, you have to loop over one of them.

Well, you can use a UDF (I know one exists for this at cflib), and
that would 'hide' the loop from ya. ;)

On Fri, Jun 6, 2008 at 3:52 PM, Che Vilnonis <[EMAIL PROTECTED]> wrote:
> Take the following...
> <cfset badtitlekeywords = "military owner,must sell,divorce">
> <cfset title = "((((((((((CLASSIC CAR----MILITARY OWNER----MUST SELL
> ))))))))))))))">
>
> Without looping (I'd like one <cfif> conditional), is there any way to
> determine if any element from "badtitlekeywords" is contained within
> "title"?
>
> Thanks, Che
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307010
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to