45 inline int32_t
size()
const {
54 char charAt(int32_t idx)
const;
203 void replace(
const string& what,
const string& by,
int beginIndex = 0);
215 bool equals(
const string& s2)
const;
MutableString & append(char c)
Append character.
MutableString & reset()
Reset.
MutableString & insert(int32_t idx, char c)
Insert character c at idx.
bool equals(const string &s2) const
Equals.
MutableString & remove(int32_t idx, int32_t count)
Remove characters at idx with given length.
char charAt(int32_t idx) const
Get char at index.
MutableString()
Public default constructor.
MutableString & set(char c)
Set character.
MutableString clone()
Clone.
int32_t indexOf(const MutableString &s, int32_t idx) const
Returns the character index where string s have been found or -1 if not found.
void replace(const string &what, const string &by, int beginIndex=0)
Replace string with another string.
const string & getString() const