• 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: Manipulate the last item in a string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Manipulate the last item in a string


  • Subject: Re: Manipulate the last item in a string
  • From: Yvan KOENIG <email@hidden>
  • Date: Sat, 17 Jun 2006 19:23:15 +0200


Le 17 juin 2006, à 15:53, kai a écrit : …

set t to "1234.jpg, 5678.jpg, 4444.jpg, 5555.jpg, 9876.jpg, 6969.jpg."
set text item delimiters to ", "
set t to t's text 1 thru text item -2 & " & " & t's text item -1
set text item delimiters to {""}

May you explain the reason which pushed you to use braces in the second setting of the text item delimiters [ {""} ] but not in the first one [ ", " ] ?


Of course it's a detail but I'm curious ;-)

Yvan KOENIG

_______________________________________________
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: Manipulate the last item in a string
      • From: kai <email@hidden>
References: 
 >Manipulate the last item in a string (From: Marine Themes <email@hidden>)
 >Re: Manipulate the last item in a string (From: kai <email@hidden>)

  • Prev by Date: Re: Manipulate the last item in a string
  • Next by Date: Re: Manipulate the last item in a string
  • Previous by thread: Re: Manipulate the last item in a string
  • Next by thread: Re: Manipulate the last item in a string
  • Index(es):
    • Date
    • Thread