Stuart Kidd wrote: > That does the trick nicely, thank you! :) I once spent a lot of time building a custom tag that would give me the filename or path given a full directory/path combo.
Ie, take "C:\Inetpub\wwwroot\foo.cfm" and return "foo.cfm" or "C:\Inetpub\wwwroot" Then I discovered "GetFileFromPath()" and "GetDirectoryFromPath()" Those functions weren't available when I started using Coldfusion (3.11) but we were, at the time, using 4.0. It was then I decided to read the manual to find out about other tags and functions that I didn't know existed so I didn't waste anymore time replicating their functionality. The moral of this story... RTFM ;) It's amazing what you can find there! Rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229451 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

