Hi, In this example the results from my #URLDecode(dir)# is "C:\temp\test\data\123\"
I'm trying to check is the directory "data" exists in the variable and if so, do something else. The syntax below is not working properly. What am I doing wrong? <cfif ListFindNoCase(URLDecode(dir),"\data")> <h5>You are in the data directory</h5> <cfelse> <h5>You are somewhere else</h5> </cfif> ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists