Something like ...
#listgetat(path,Listlen(path,"/")-1,"/")#
----- Original Message -----
From: Chris Montgomery <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 20, 2000 6:19 PM
Subject: Getting Last Directory Name from Path
> 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.
>
>
------------------------------------------------------------------------------
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.