• 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
TIDs and Unicode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TIDs and Unicode


  • Subject: TIDs and Unicode
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 20 May 2003 09:26:44 +1000

Can anyone explain this result:

set A to "abcabc" as Unicode text
set AppleScript's text item delimiters to {"b"}
set x to text items of A
set AppleScript's text item delimiters to {"a"}
set y to text items of A
set AppleScript's text item delimiters to {""}
set z to text items of A
return {x, y, z}
--> {{"a", "ca", "c"}, {"", "bc", "bc"}, {"", "", "b", "c", "a", "b", "c"}}

The result for z looks like a bug to me (running 10.2.6, if it matters).

--
Shane Stanley, email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: TIDs and Unicode
      • From: Christopher Nebel <email@hidden>
References: 
 >Textedit problems (From: Kris Hermans <email@hidden>)

  • Prev by Date: Re: Applescript LetterRip Server
  • Next by Date: Re: New!!!
  • Previous by thread: Re: Textedit problems
  • Next by thread: Re: TIDs and Unicode
  • Index(es):
    • Date
    • Thread