• 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: reversing file names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reversing file names


  • Subject: Re: reversing file names
  • From: Chris Page <email@hidden>
  • Date: Sat, 28 Dec 2002 05:24:23 -0800

On Friday, Dec 27, 2002, at 11:26 US/Pacific, Keith wrote:

Is there an easy way to take a filename, i.e. foo, and reverse it to oof with AppleScript.

I'm assuming you already know how to get the filename. Once you have it, use the "reverse" property to reverse it, e.g.:

reverse of characters of "foo" as string
--> "oof"

--
Chris Page - Happy Fun Engineer - Palm, Inc.

Do not taunt happy fun engineer.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >reversing file names (From: Keith <email@hidden>)

  • Prev by Date: Re: BUG: Store script Perversity - correction
  • Next by Date: Re: Duplicating a file to a specific name
  • Previous by thread: Re: reversing file names
  • Next by thread: Can anyone explain this?
  • Index(es):
    • Date
    • Thread