character (Offset of stringA in stringB) of stringB
character (Offset of stringA in stringB) of stringB
- Subject: character (Offset of stringA in stringB) of stringB
- From: Matthew Stuckwisch <email@hidden>
- Date: Sun, 29 Dec 2002 16:37:33 -0600
Has anyone else found that, when working with Unicode strings (here we
go again...) that if you were to, say, load three files, on a document,
and the other two being a list of characters, one a scrambled version
of the other, and try to replace the document's characters based on the
other two files (basically, a cryptoquote deal), either "character" or
"offset" doesn't work properly?
In trying to figure this, I literally came into a situation like the
following:
A = character (offset of A in B) of C -- A _is_ in B, and B=C
--> False
Logically speaking, I see no reason that this should happen. Worst of
all, it only fails on about half the runs, so when looping through a
text file coding it up, half the characters end up correctly, the other
half do not. Perhaps I've missed something?
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.