Tools.h++ Manual
104011 Tandem Computers Incorporated 21-87
21
size_t length() const;
Returns the extent (i.e., length) of the
RWCSubString
.
RWBoolean operator!() const;
Returns
TRUE
if this is a null substring.
size_t start() const;
Returns the starting element of the
RWCSubString
.
void toLower();
Changes all upper-case letters in self to lower-case. Uses the standard C
library function
tolower()
.
void toUpper();
Changes all lower-case letters in self to upper-case. Uses the standard C
library function
toupper()
.
Global logical operators
RWBoolean operator==(const RWCSubString&,
const RWCSubString&);
RWBoolean operator==(const RWCString&,
const RWCSubString&);
RWBoolean operator==(const RWCSubString&,
const RWCString& );
RWBoolean operator==(const char*,
const RWCSubString&);
RWBoolean operator==(const RWCSubString&,
const char* );
Returns
TRUE
if the substring is lexicographically equal to the character string
or
RWCString
argument. Case sensitivity is exact.
RWBoolean operator!=(const RWCString&,
const RWCString& );
RWBoolean operator!=(const RWCString&,
const RWCSubString&);
RWBoolean operator!=(const RWCSubString&,
const RWCString& );
RWBoolean operator!=(const char*,
const RWCString& );
RWBoolean operator!=(const RWCString&,
const char* );
Returns the negation of the respective
operator==()
.