Re: what the heck - text manipulation script
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