Re: Finder string oddity solved?
Re: Finder string oddity solved?
- Subject: Re: Finder string oddity solved?
- From: Matthew Stuckwisch <email@hidden>
- Date: Fri, 27 Dec 2002 20:24:01 -0600
text items of foo_name
--> {"", "", "d", "v", "a", "n", "c", "e", " ", "a", "n", "d", " ",
"R", "e", "t", "r", "e", "a", "t"}
The first text item is replaced by two null characters.
But
set foo_name to "Advance and Retreat"
text items of foo_name
--> {"A", "d", "v", "a", "n", "c", "e", " ", "a", "n", "d", " ", "R",
"e", "t", "r", "e", "a", "t"}
More research on my part shows that it is wholly NOT a good idea to use
text items with Unicode text when the text item delimiter is an empty
string ( "" ). Also, by suggestion from Chris Nebel on another issue,
using "characters of" rather than "text items of" works correctly.
Matthew Stuckwisch
[AIM/MSN]{GuifaSwimmer} | [Yahoo!]{SapphireTree} | [ICQ]{137477701}
[IRC]{guifa}(esperNET / GamesNet) | [E-mail]{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.