hyphens
AppleScript considers hyphens in strings by default during
string
comparisons. You can change this behavior
by enclosing the string-comparison statement in an ignoring hyphens...end ignoring
statement block. This code shows
that hyphens will not be considered when comparing strings in this
manner:
ignoring hyphens set theTruth to ("burning-hot pavement" is equal to "burninghot ¬ pavement") -- theTruth is true end ignoring