Re: delete first 3 characters in a file name
Re: delete first 3 characters in a file name
- Subject: Re: delete first 3 characters in a file name
- From: Michelle Steiner <email@hidden>
- Date: Thu, 9 Dec 2004 17:10:41 -0700
On Dec 9, 2004, at 10:32 AM, Bill White wrote:
set newName to characters 5 thru -1 of oldName as string
By using txt item delimiters set to "_", the number of characters to be
stripped is not an issue, nor is the number of characters to be
retained. It is a more general solution, and makes only the assumption
that there is an underscore in the file name, and that only those
characters after the underscore are to be retained.
--
Windows was always a mystery to me; the biggest mystery being "Why does
anyone want to use this?"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden