• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Search Strings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Search Strings
      • From: yvan-koenig <email@hidden>
References: 
 >Search Strings (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Terminal grep from AS
  • Next by Date: Re: Search Strings
  • Previous by thread: Search Strings
  • Next by thread: Re: Search Strings
  • Index(es):
    • Date
    • Thread