• 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: what the heck - text manipulation script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: what the heck - text manipulation script


  • Subject: Re: what the heck - text manipulation script
  • From: "John C. Welch" <email@hidden>
  • Date: Tue, 18 Jul 2006 10:46:26 -0500
  • Thread-topic: what the heck - text manipulation script

On 7/18/06 09:52, "Natalie Lambert" <email@hidden> wrote:

> I'm  trying to do some manipulating of some text. For
> some reason I can't get exactly what I want out of
> it.... Its driving me a little nuts. Is there some
> rule I have forgotten about?????
>
> set x to "OCT 05    @St. Louis" as text
> set v to word 4 of x
> return v
>
> why does the result of this scipt  = "St". I need
> "@St." It always drops the @ and the period.....
>
> even if I start delimiting I get weird stuff
> happening. what works on 10.2.8 (home)  doesn't work
> on 10.4.4 (work)
>
>
> what the heck!!

Try using "text item" instead of "word"

--
"If I had no sense of humor, I would long ago have committed suicide."
- Gandhi




 _______________________________________________
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: what the heck - text manipulation script
      • From: Yvan KOENIG <email@hidden>
References: 
 >what the heck - text manipulation script (From: Natalie Lambert <email@hidden>)

  • Prev by Date: Re: what the heck - text manipulation script
  • Next by Date: Re: what the heck - text manipulation script
  • Previous by thread: Re: what the heck - text manipulation script
  • Next by thread: Re: what the heck - text manipulation script
  • Index(es):
    • Date
    • Thread