Re: Convert first char to lower case
Re: Convert first char to lower case
- Subject: Re: Convert first char to lower case
- From: John W Baxter <email@hidden>
- Date: Wed, 9 Jan 2002 18:14:50 -0800
At 13:33 -0500 1/9/2002, Michael Sullivan wrote:
>
[quoting Arthur J. Knapp]
>
> (Perhaps when Unicode is more properly integrated into AppleScript,
>
> "item" and "character" will no longer be interchangeable???)
>
>
They aren't interchangeable now, unless TIDS are set to the default of
>
{""}
One should avoid confusing "item" with "text item"
set AppleScript's text item delimiters to {"c"}
set aString to "abcd"
set a to item 2 of aString
set b to text item 2 of aString
set AppleScript's text item delimiters to {""}
{a, b}
Returns
{ "b", "d" }
--
John Baxter email@hidden Port Ludlow, WA, USA