class DOMString |
|
This class implements the basic string we use in the DOM. We do not use
QString for 2 reasons: Memory overhead, and the missing explicit sharing
of strings we need for the DOM.
All DOMStrings are explicitly shared (they behave like pointers), meaning that modifications to one instance will also modify all others. If you wish to get a DOMString that is independent, use copy(). |
|
default constructor. Gives an empty DOMString |
|
|
|
|
|
|
|
|
Internal get a handle to the imlementation of the DOMString Use at own risk!!! |
|
|
|
|
|
Returns a lowercase version of the string |
|
add two DOMString's |
|
append str to this string |
|
The character at position i of the DOMString. If i >= length(), the character returned will be 0. |
|
|
|
Splits the string into two. The original string gets truncated to pos, and the rest is returned. |
|
|
|
|
|
Returns an uppercase version of the string |