diff options
Diffstat (limited to 'engines/titanic/string.h')
-rw-r--r-- | engines/titanic/string.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/titanic/string.h b/engines/titanic/string.h index de442647ca..d70e23d023 100644 --- a/engines/titanic/string.h +++ b/engines/titanic/string.h @@ -53,9 +53,19 @@ public: CString mid(uint start, uint count) const; /** + * Returns a substring from within the string + */ + CString mid(uint start) const; + + /** * Returns the index of the first occurance of a given character */ int indexOf(char c); + + /** + * Returns the index of the last occurance of a given character + */ + int lastIndexOf(char c); }; } // End of namespace Titanic |