Re: can I do this better?
Re: can I do this better?
- Subject: Re: can I do this better?
- From: "Eric Phillips" <email@hidden>
- Date: Thu, 13 Jun 2002 13:11:15 -0400
In an attempt to learn more I have been reading this thread. I have one question from Ric Phillips' sample. Why do you use "every character of s"? Why wouldn't you just say "does not contain item i of s then"? A snippet of Ric's code is below.
repeat with i from length of s to 1 by -1
if ({space, return, tab, ""} does not contain item i of (every
character of s)) then
set s to (characters 1 thru i of s) as string
exit repeat
end if
end repeat
Eric Phillips
_______________________________________________
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.