Re: Bad Characters
Re: Bad Characters
- Subject: Re: Bad Characters
- From: "Mark J. Reed" <email@hidden>
- Date: Thu, 16 Oct 2008 10:09:39 -0400
Luther Fuller wrote:
In my original script, I commented: "-- or use nullChar = "".
I'm not seeing that behavior, Luther. No single character returns true
when compared to "" OMM.
Test script:
set controlChars to {}
repeat with cc from 0 to 31
set end of controlChars to character id cc
end repeat
repeat with cc from 127 to 159
set end of controlChars to character id cc
end repeat
set emptyString to ""
set emptyCount to 0
repeat with testChar in controlChars
if testChar = emptyString then
set emptyCount to emptyCount + 1
end if
end repeat
emptyCount
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden