Extract Folder Name from Full Path
Extract Folder Name from Full Path
- Subject: Extract Folder Name from Full Path
- From: Marconi <email@hidden>
- Date: Sat, 16 Aug 2003 09:09:35 -0700
How can I extract just the folder name from a full path?
I'm using:
set FullPath to (choose folder) as string
which sets FullPath to something like:
"Mac HD:Users:Marconi:Mail Server Logs: 2003-07:"
and I want 'set FolderName...' to set Foldername to just the last
folder in the FullPath: "2003-07".
How do I extract just "2003-07" from "Mac HD:Users:Marconi:Mail
Server Logs: 2003-07:" ?
--
"A man who believes in nothing will fall for anything." -- Malcolm X
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.