Compares the string with the specified string using the given options.
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
The string with which to compare the receiver.
This value must not be
nil. If this value is
nil, the behavior is undefined and may change in future versions of macOS.
This method is equivalent to invoking
compare(_: with a given mask as the options and the receiver’s full extent as the range.