Re: Accessing lasts characters of a string
Re: Accessing lasts characters of a string
- Subject: Re: Accessing lasts characters of a string
- From: "John C. Welch" <email@hidden>
- Date: Thu, 13 Mar 2008 09:58:09 -0500
- Thread-topic: Accessing lasts characters of a string
On 03/13/2008 09:28 AM, "Luther Fuller" <email@hidden> wrote:
> One last comment ...
>
> repeat 100000 times
> -- (rest of characters of strA) as text -- 46 sec
> text 2 thru -1 of strA -- 4 sec
> end repeat
>
> Using 'rest of characters of ...' seems to be way slow!
Depends on how you use it. I've yet to see where I need to use it 100K times
in a script, and for ease of coding and maintenance, it's far more elegant
than parsing the strings or repeating through them.
--
"Hard pressed on my right. My center is yielding. Impossible to maneuver.
Situation excellent. I am attacking."
- Ferdinand Foch at the Battle of the Marne
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden