Important: The information in this document is obsolete and should not be used for new development.
If you need to divide up a string, before converting it, your application can use the truncation functions to properly break the string so that the string to be converted is terminated with complete characters and complete text elements. To avoid the possibility of corrupting the contents of the string or breaking a string between the bytes of a multibyte character, it is best to use these functions instead of truncating the string yourself.