aboutsummaryrefslogtreecommitdiff
path: root/common/ustr.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/ustr.h')
-rw-r--r--common/ustr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/ustr.h b/common/ustr.h
index 5205216044..431cd9694a 100644
--- a/common/ustr.h
+++ b/common/ustr.h
@@ -162,6 +162,12 @@ public:
*/
void deleteChar(uint32 p);
+ /** Remove the last character from the string. */
+ void deleteLastChar();
+
+ /** Remove all characters from position p to the p + len. If len = String::npos, removes all characters to the end */
+ void erase(uint32 p, uint32 len = npos);
+
/** Clears the string, making it empty. */
void clear();