Re: Search Strings
Re: Search Strings
- Subject: Re: Search Strings
- From: Christopher Nebel <email@hidden>
- Date: Fri, 28 Jan 2005 11:15:50 -0800
On Jan 27, 2005, at 5:41 PM, Robert Poland wrote:
Is this a No-No?
Too long?
Tia,
property searchStrings : {"a", "b", "c", "d", "e", "f", "g", "h", "I",
"j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w",
"x", "y", "z", "'", " ", "&"}
property replacementStrings : {"A", "B", "C", "D", "E", "F", "G", "H",
"I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V",
"W", "X", "Y", "Z", "", "_", "_and_"}
Do you mean "will it break?" or "is it in bad taste?" The answer to
the first should be "no". The answer to the second would be "it
depends" -- long paired lists are somewhat error-prone (easy to
add/miss an item in one list); there are clearer ways to do the
upper-case transmutation (especially if you care to use third-party
additions like Smile); and you're ignoring accented characters.
Whether or not you care about any of these depends on who's going to
use the script.
Did you have any actual problems, or mere paranoia?
--Chris Nebel
AppleScript Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden