• 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: Convert first char to lower case
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Convert first char to lower case


  • Subject: Re: Convert first char to lower case
  • From: Steven Angier <email@hidden>
  • Date: Wed, 09 Jan 2002 08:06:14 +1100
  • Organization: Macscript.com

Olivier Berquin wrote:

> I wrote this handler, but I'm not sure that it's very powerfull.
> It convert the first character of a var to lower case.
>
> [snip]
>
> Somebody can help me ???

I think it is important to note that there are actually 55 characters in the Mac character
set whose case should be toggled. Have a look at the whole character set when you build a
lookup table for this. BTW, TID-based lookups are dramatically faster than "offset of" and
"ASCII number" calls to scripting additions, but they are a bit of a hack.

Steven Angier
Macscript.com


References: 
 >Convert first char to lower case (From: Olivier Berquin <email@hidden>)

  • Prev by Date: iTunes Library Location?
  • Next by Date: Re: Convert first char to lower case
  • Previous by thread: Convert first char to lower case
  • Next by thread: Re: Convert first char to lower case
  • Index(es):
    • Date
    • Thread