Specifies that a string should be tokenized by locale-sensitive word boundary.
- iOS 3.0+
- macOS 10.5+
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
You can use this constant in double-click range detection and whole word search. It is locale-sensitive. If the locale is
en, a colon (U+003A) is treated as a word separator. If the
locale parameter of
NULL, the locale from the global
Apple preference is used if it is available; otherwise the locale defaults to the first locale in
k also returns space between words as a token.