VMS Help CXXL, String package *Conan The Librarian |
The String package consists of the single class, String, which provides ways to assign, concatenate, and compare character strings. This class also provides methods for substring creation and for vector access to a character string. For some applications, services provided by the String class are like those provided by the traditional C string library (strcpy, strcmp, and so forth), but are more efficient and convenient in the context of C++. Overloaded operators provide ways to assign, concatenate, and compare strings. New operators provide simple notations for substring creation and vector access into the string. All comparisons are lexicographic with the ordering dependent on the character set in which the string is encoded. An index value of 0 indicates the first character in a String object. Header: #include <string.hxx>
|