Re: Extract Folder Name from Full Path
Re: Extract Folder Name from Full Path
- Subject: Re: Extract Folder Name from Full Path
- From: Michelle Steiner <email@hidden>
- Date: Sat, 16 Aug 2003 09:20:30 -0700
On Saturday, August 16, 2003, at 09:09 AM, Marconi wrote:
How do I extract just "2003-07" from "Mac HD:Users:Marconi:Mail Server
Logs: 2003-07:" ?
set fullpath to "Mac HD:Users:Marconi:Mail Server Logs: 2003-07:"
set {tid, text item delimiters} to {text item delimiters, ":"}
set containing_folder to text item -2 of the fullpath
set text item delimiters to tid
containing_folder
--> " 2003-07"
--
Are you better off today than you were on Jan 20th, 2001?
_______________________________________________
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.