Howdy,

What's the best way to get the last directory name from a path?  For
example, in this path:

directory1/directory2/directory3/filename.cfm

I want to extract just directory3.

Any help much appreciated.

Chris Montgomery               [EMAIL PROTECTED]
:: Web development/Consulting  http://www.astutia.com ::
:: Allaire Consulting Partner/ NetObjects Reseller    ::
:: 210-490-3249/888-745-7603   Fax 210-490-4692       ::

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to