TIDs and Unicode
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.