• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Understanding a repeat loop (strings/characters)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Understanding a repeat loop (strings/characters) (From: Steven Angier <email@hidden>)

  • Prev by Date: printing Netscape
  • Next by Date: Modifying a .plist file
  • Previous by thread: Re: Understanding a repeat loop (strings/characters)
  • Next by thread: Re: Understanding a repeat loop (strings/characters)
  • Index(es):
    • Date
    • Thread