Re: Understanding a repeat loop (strings/characters)
Re: Understanding a repeat loop (strings/characters)
- Subject: Re: Understanding a repeat loop (strings/characters)
- From: Andrew Oliver <email@hidden>
- Date: Sun, 23 Feb 2003 14:55:58 -0800
On 2/23/03 2:37 PM, "Steven Angier" <email@hidden> wrote:
>
On 23/2/03 12:35 PM, "has" <email@hidden> wrote:
>
>
> ...And since in strings 'item' is synonymous
>
> with 'character', what you end up with is a reference to each
>
> character.
>
>
It is a shame that 'item' is not synonymous with 'text item'.
I disagree. I find it very handy to be able to iterate through every
character in a string without having to mess around with text item
delimiters, but still knowing that I can instantly break a string on any
character break I want.
It's a handy thing to have, and in some ways AppleScript handles it better
than other languages where you can iterate through each byte but choke on
unicode or 2-byte character sets.
Andrew
:)
_______________________________________________
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.