Q3CString_GetLength
You can use theQ3CString_GetLengthfunction to get the length of a C string object.
TQ3Status Q3CString_GetLength ( TQ3StringObject stringObj, unsigned long *length);
stringObj- A C string object.
length- On exit, the length of the specified C string object.
DESCRIPTION
TheQ3CString_GetLengthfunction returns, in thelengthparameter, the number of characters in the data associated with the C string object specified by thestringObjparameter. The length returned does not include the null character that terminates a C string. You should useQ3CString_GetLengthto get the length of only string objects of typekQ3StringTypeCString.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help