• 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: How do I delete the 1st three characters from a variable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I delete the 1st three characters from a variable


  • Subject: Re: How do I delete the 1st three characters from a variable
  • From: has <email@hidden>
  • Date: Fri, 6 Jan 2006 01:44:39 +0000

Shane Stanley wrote:

> > You seem to have misread - I was addressing your comment about some
> > applications requiring users to write:
> >
> >    text (character x) thru (character y)
> >
> > instead of:
> >
> >    text x thru y
>
>You seem to have misread -- I made no such comments. I was referring to
>"text x thru y" vs "text from character x to character y".

I take it back, you merely misunderstood.

   text from character x to character y

is just a synonym for:

   text (character x) thru (character y)

which is a shortcut for:

   text x thru y

The first two mean the exact same thing, so it makes not one jot of difference which way you write it. The last doesn't, but is usually expanded to the other form under the hood for the user's convenience - and where that expansion fails, you get the symptoms your original post described.

Anyway, apologies if my use of synonym #2 instead of synonym #1 inadvertently caused confusion. BTW, this is why I get tetchy about AS's obsessive love affair with syntactic sugar; there are times it makes it all but impossible for the average - or even well-above average - user to tell exactly what the damn thing's up to.

has
--
http://freespace.virgin.net/hamish.sanderson/
 _______________________________________________
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: How do I delete the 1st three characters from a variable
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Save text to file (Applescript-users Digest, Vol 3, Issue 10)
  • Next by Date: Re: Saving Safari documents as html?
  • Previous by thread: Re: How do I delete the 1st three characters from a variable
  • Next by thread: Re: How do I delete the 1st three characters from a variable
  • Index(es):
    • Date
    • Thread