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

Manipulate the last item in a string


  • Subject: Manipulate the last item in a string
  • From: Marine Themes <email@hidden>
  • Date: Sat, 17 Jun 2006 22:04:11 +1000
  • Organization: Marine Themes Pty Ltd

Using applescript with Filemaker I can make a string of found image record names such as this:

"1234.jpg, 5678.jpg, 4444.jpg, 5555.jpg, 9876.jpg, 6969.jpg."

What I want to do is delete the last comma and insert an "&" into the string to make:

"1234.jpg, 5678.jpg, 4444.jpg, 5555.jpg, 9876.jpg & 6969.jpg."

I assume that I use text item deliminators but not sure how as there are multiple ", " in the string and record names will vary with each use of the script. Any suggestions?

Clive


_______________________________________________ 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: Emmanuel <email@hidden>
    • Re: Manipulate the last item in a string
      • From: Bill White <email@hidden>
    • Re: Manipulate the last item in a string
      • From: kai <email@hidden>
  • Prev by Date: Brian Higgins/RMTBAG/US/NAM/DOM is out of the office.
  • Next by Date: Re: Navigating Pages in InDesign
  • Previous by thread: Brian Higgins/RMTBAG/US/NAM/DOM is out of the office.
  • Next by thread: Re: Manipulate the last item in a string
  • Index(es):
    • Date
    • Thread