IText
provides full interoperability with the char-based
string formats char* and IString,
allowing you to:
char arrays and from IString objects UniChar arrays)char
array or an IString object char* or IString is called
for char* or IString where IText
is called for This figure shows the IText interfaces supporting compatibility with other string formats:
npos, to
represent the number of characters between a specified
starting offset and the end of the string. For example, a
starting offset of 0 and a length of npos
refers to the whole string. npos - 1. UniChar
arrays containing the same number of characters as the
IText object. c_str always returns a null-terminated
array-data may not.