Sets the string for a tokenizer.
SDKs
- iOS 3.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Core Foundation
Declaration
void CFStringTokenizerSetString(CFString Tokenizer Ref tokenizer, CFString Ref string, CFRange range);
Parameters
tokenizer
A tokenizer.
string
The string for the tokenizer to tokenize.
range
The range of string to tokenize. The range of characters within the string to be tokenized. The specified range must not exceed the length of the string.