Case sensitivity of text item delimiters
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