This section describes how you use the programming interfaces defined by String Services to create, manipulate, convert, and otherwise use CFString objects in your code. Some of the described operations pertain only to mutable CFString objects; on the other hand, all functions that operate on immutable CFString objects also work with mutable CFString objects.
Not all functions are described. Some of the functions not discussed in detail are:
CFStringGetLength
lets you obtain the number of Unicode characters represented by a CFString object.
CFStringGetLineBounds
tells you how many lines a string (or a range of the string) Is.
CFStringCreateByCombiningStrings
creates a single string from an array (CFArray) of strings; the counterpart of this function,
CFStringCreateArrayBySeparatingStrings
, creates a CFArray object from a single string, using a delimiter character to separate the substrings.
CFStringGetIntValue
and
CFStringGetDoubleValue
convert a CFString representing a number to the actual numeric value.