Re: Deleting last item of a List
Re: Deleting last item of a List
- Subject: Re: Deleting last item of a List
- From: Michelle Steiner <email@hidden>
- Date: Fri, 19 Nov 2004 06:32:29 -0700
On Nov 19, 2004, at 4:23 AM, email@hidden wrote:
if ((list01 ends with "") or (list01 ends with " ") or (list01 ends
with return) or (list01 ends with (ASCII character 10))) then
if last item of list01 is in {""," ",return, ascii character 10} then
set list01 to (items (1) thru ((count list01) - 1) of list01) as list
set list01 to items 1 through -2 of list01
--
Prius: Kicks Gas
_______________________________________________
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