compareAnchored
Performs searching only on characters at the beginning or end of the range.
Declaration
static var compareAnchored: CFStringCompareFlags { get }Discussion
No match at the beginning or end means nothing is found, even if a matching sequence of characters occurs elsewhere in the string.