Hi,

I have two variables. I need to check if the contents of the first variable exists in 
the second and if it does to something and if not do something else.
How can I do this with a <cfif statement?

Example:

var1 = mywork
var2= C:\temp,C:\windows,c:\program files,c:\tmp

DO THIS

Or it could be

var1 = mywork
var2= C:\temp,C:\windows,c:\mywork,c:\program files,c:\tmp

DO SOMETHING ELSE.



---------------------------------------------------
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
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to