• 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
Case sensitivity of text item delimiters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Case sensitivity of text item delimiters


  • Subject: Case sensitivity of text item delimiters
  • From: Shane Stanley <email@hidden>
  • Date: Sun, 23 Oct 2005 12:25:32 +1000
  • Thread-topic: Case sensitivity of text item delimiters

As has been mentioned here before, getting the text items of a Unicode
string in 10.4.x is case sensitive, and responds to the considering/ignoring
case statements. This also seems to be the case for 10.3.9. I can't find any
documentation of this change, and I'm trying to find out when it was made.
Anyone know? Anyone running earlier than 10.3.9 care to run the following
and tell me what they get?

set someText to "AAaa" as Unicode text
set oldDelims to AppleScript's text item delimiters
set AppleScript's text item delimiters to {"a"}
set x to text items of someText
ignoring case
    set y to text items of someText
end ignoring
considering case
    set z to text items of someText
end considering
set AppleScript's text item delimiters to oldDelims
return {x, y, z}

--
Shane Stanley <email@hidden>



 _______________________________________________
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

  • Prev by Date: (no subject)
  • Next by Date: Re: Address Book label properties
  • Previous by thread: Multi-purpose Quit handler
  • Next by thread: Re: Case sensitivity of text item delimiters
  • Index(es):
    • Date
    • Thread