Is there a way I can turn something like this

<cfif cgi.SCRIPT_NAME CONTAINS "/default.cfm" OR cgi.SCRIPT_NAME CONTAINS
"/Planner.cfm">

into listContainsNoCase

<cfset noBanners = "default.cfm,Planner.cfm">

<cfif #listContainsNoCase(noBanners, "#cgi.SCRIPT_NAME#", ",")#>

I can't get it to work but it seems like it should.

-- 
Casey


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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

Reply via email to