String replacement
String replacement
- Subject: String replacement
- From: Matthew Stuckwisch <email@hidden>
- Date: Mon, 8 Apr 2002 21:39:32 -0500
What's the quickest way to do a Hangman style text replacement? eg you
have the following strings:
"This Is the Phrase" as the hidden phrase
"---- -- --- ------" as the displayed phrase
"i" and "I" as search strings
Basically, you look for the search strings in the hidden phrase, and if
one of them matches you replace that respective character in the displayed
phrase. Right now I'm going one by one checking. Any ideas?
Matthew Stuckwisch
[AIM/MSN]{GuifaSwimmer} | [Yahoo!]{SapphireTree} | [ICQ]{137477701}
[IRC]{guifa / G}(esperNET / irc.massinova.com)
_______________________________________________
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.