Hint. You can use lists that have delimiters other than ",". Say for
instance... oh, "/".

If you did that, then asked for the number of entries in this "/" delimited
list (ListLen) then you could get the element that's one from the
last(ListGetAt the ListLen-1). :)

--min


> 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.


------------------------------------------------------------------------------
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