Tools.h++ Class Reference

Table Of Contents
Click on the banner to return to the Class Reference home page.
©Copyright 1996 Rogue Wave Software
RWCString
Synopsis
Description
Persistence
Example
Enumerations
Public Constructors
Type Conversion
Assignment Operators
Indexing Operators
Public Member Functions
Static Public Member Functions
Related Global Operators
Related Global Functions
Synopsis
#include <rw/cstring.h>
RWCString a;
Description
Class RWCString offers very powerful and convenient facilities for manipulating strings that are
just as efficient as the familiar standard C <string.h> functions.
Although the class is primarily intended to be used to handle single-byte character sets (SBCS;
such as ASCII or ISO Latin-1), with care it can be used to handle multibyte character sets
(MBCS). There are two things that must be kept in mind when working with MBCS:
Because characters can be more than one byte long, the number of bytes in a string can, in
general, be greater than the number of characters in the string. Use function
RWCString::length() to get the number of bytes in a string, function