• 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: Why is this so?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is this so?


  • Subject: Re: Why is this so?
  • From: Paul Berkowitz <email@hidden>
  • Date: Tue, 23 Jan 2001 11:53:55 -0800

On 1/23/01 11:19 AM, "Michelle Steiner" <email@hidden> wrote:

> set foo to "Michelle Steiner"
> text 1 through -1 of foo
> --> "Michelle Steiner"
>
> set foo to "Michelle Steiner"
> text -1 through 1 of foo
> --> "Michelle Steiner"
>
> Shouldn't the second script return
> "renietS ellehciM"
>
No. That's how it works. You can choose to specify either end of the text
segment first and the other second, but text is always read left to right in
Applescript. It's somewhere in the ASLG.

--
Paul Berkowitz


References: 
 >Why is this so? (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Reading and writing records
  • Next by Date: Re: [ANN] Report on AS 1.5.5 from AppleScript Sourcebook
  • Previous by thread: Why is this so?
  • Next by thread: Re: Why is this so?
  • Index(es):
    • Date
    • Thread