Enumeration Case


Specifies that a string should be tokenized by locale-sensitive word boundary.


kCFStringTokenizerUnitWordBoundary = 4


You can use this constant in double-click range detection and whole word search. It is locale-sensitive. If the locale is en_US_POSIX, a colon (U+003A) is treated as a word separator. If the locale parameter of CFStringTokenizerCreate is NULL, the locale from the global AppleTextBreakLocale preference is used if it is available; otherwise the locale defaults to the first locale in AppleLanguages.

kCFStringTokenizerUnitWordBoundary also returns space between words as a token.