aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/support/string.h')
-rw-r--r--engines/titanic/support/string.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/titanic/support/string.h b/engines/titanic/support/string.h
index 487c138358..71242c01c9 100644
--- a/engines/titanic/support/string.h
+++ b/engines/titanic/support/string.h
@@ -75,6 +75,12 @@ public:
CString mid(uint start) const;
/**
+ * Returns a substring consisting of the entire string
+ * except for a specified number of characters at the end
+ */
+ CString deleteRight(uint count) const;
+
+ /**
* Returns the index of the first occurance of a given character
*/
int indexOf(char c) const;