Technically, couldn't you create some regex that would check for it in one swipe? Something like if find matches of (string1 or string2 or string3 or etc...)
~Brad -----Original Message----- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2008 4:44 PM To: CF-Talk Subject: Re: List question... (having a brain [EMAIL PROTECTED]) 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:307011 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4