Re: Convert first char to lower case
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