• 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: 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


  • Follow-Ups:
    • Re: Convert first char to lower case
      • From: email@hidden (Michael Sullivan)
References: 
 >Re: Convert first char to lower case (From: email@hidden (Michael Sullivan))

  • Prev by Date: POSIX path
  • Next by Date: Re: script for Eudora and Bcc
  • Previous by thread: Re: Convert first char to lower case
  • Next by thread: Re: Convert first char to lower case
  • Index(es):
    • Date
    • Thread