cfif findNoCase(whatyouarelookingfor,stringtosearch)

try that. If you need further help, just let me know.

Clint
----- Original Message -----
From: "FlashGuy" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, December 17, 2002 7:15 AM
Subject: Checking


> I need to check if part of one string matches part of another. For
example, I have to variables.
>
> dir = D:\documents\test
> strShowMe = documents\test,documents\test2,mywork\test,misc\test
>
>
>
> Using <cfif how could I check to see if any text from the "dir" variable,
either "documents" or "test" return a match in the strShowMe variable?
>
>
>
>
> ---------------------------------------------------
> Colonel Nathan R. Jessop
> Commanding Officer
> Marine Ground Forces
> Guatanamo Bay, Cuba
> ---------------------------------------------------
>
>
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to