Function

CFStringTokenizerGetCurrentTokenRange

Returns the range of the current token.

Declaration

CFRange CFStringTokenizerGetCurrentTokenRange(CFStringTokenizerRef tokenizer);

Parameters

tokenizer

A CFStringTokenizer object.

Return Value

The range of the current token, or {kCFNotFound, 0} if there is no current token.

See Also

Getting Information About the Current Token

CFStringTokenizerCopyCurrentTokenAttribute

Returns a given attribute of the current token.

CFStringTokenizerGetCurrentSubTokens

Retrieves the subtokens or derived subtokens contained in the compound token.