OMString class

The OMString class contains basic library functions that enable you to create and manipulate OMStrings. An OMString is a basic string class.

This class is defined in the header file omstring.h.

Construction summary
OMString
Constructs an OMCollection object
~OMString
Destroys the OMCollection object
Method and operator summary
Operator[]
Returns the character at the specified position
operator +
Adds a string
operator +=
Adds to the existing string
operator =
Sets a string
operator ==
Determines whether two objects are equal
operator >=
Determines whether the first object is greater than or equal to the second
operator <=
Determines whether the first object is less than or equal to the second
operator !=
Determines whether the first object is not equal to the second object
operator >
Determines whether the first object is greater than the second
operator <
Determines whether the first object is less than the second
operator <<
Compares an output stream and a string
operator >>
Compares an input stream and a string
operator *
Is a customizable operator
CompareNoCase
Performs a case-insensitive comparison of two strings.
Empty
Empties the string
GetBuffer
Returns the string buffer
OMHeap class
Returns the length of the string
IsEmpty
Determines whether the string is empty
OMDestructiveString2X
Is used to support animation
resetSize
Makes the string larger
SetAt
Sets a character at the specified position in the string
SetDefaultBlock
Sets the default string size

Feedback