Language Guide
CHAPTER 7
Control Statements
Considering and Ignoring Statements 215
diacriticals:Diacritical marks (such as ´, `, ˆ, ¨, and ˜) are considered in
string comparisons. If this attribute is ignored, "résumé" is considered equal
to "resume", and so on.
hyphens: In string comparisons, hyphenated words are considered different
from their nonhyphenated counterparts. If this attribute is ignored, the strings
are compared as if any hyphens were not present; for example "anti-war"
would be considered equal to "antiwar".
expansion: In string comparisons, AppleScript normally treats the
characters æ, Æ, œ, and Œ as identical to the character pairs ae, AE, oe,
and OE, respectively. If this attribute is ignored, AppleScript treats these
characters like single characters; for example æ would be considered not
equal to the character pair ae.
punctuation:The punctuation marks (. , ? : ; ! \ ' " `) are considered in
string comparisons. If this attribute is ignored, the strings are compared as if
these punctuation marks were not present; for example "This!" would be
considered equal to "This".
application responses:Normally, AppleScript waits for a response
from each application command before proceeding to the next statement or
operation. The response indicates if the command completed successfully,
and also returns results and error messages, if there are any. If this attribute is
ignored, AppleScript does not wait for responses from application commands
before proceeding to the next statement, and ignores any results or error
messages that are returned. Results and error messages from AppleScript
commands, scripting additions, and expressions are not affected by the
application responses attribute.
EXAMPLES
considering case
"a" comes before "b"
end considering
considering case and white space but ignoring diacriticals
"a" comes after "b"
end considering