• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Deleting last item of a List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Deleting last item of a List
      • From: Hanaan Rosenthal <email@hidden>
References: 
 >Re: Deleting last item of a List (From: email@hidden)

  • Prev by Date: Re: Simple text formatting in Quark6
  • Next by Date: Re: Deleting last item of a List
  • Previous by thread: Re: Deleting last item of a List
  • Next by thread: Re: Deleting last item of a List
  • Index(es):
    • Date
    • Thread