Re: can I do this better?
Re: can I do this better?
- Subject: Re: can I do this better?
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 14 Jun 2002 10:03:18 -0700
On 6/14/02 8:49 AM, "Arthur J. Knapp" <email@hidden> wrote:
>
Another thing I would do is to try to limit the number of times it is
>
nessesary to "munge" the string. It is better to simply use a variable
>
index to keep one's place in the string:
>
>
set i to str's length
>
repeat while (str's character i = trimChar)
>
set i to i - 1
>
end
>
set str to str's text 1 thru i
Very good, Arthur. I like that.
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.