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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/titanic/support/string.h b/engines/titanic/support/string.h
index fdaf92cfad..9550ce88a7 100644
--- a/engines/titanic/support/string.h
+++ b/engines/titanic/support/string.h
@@ -75,6 +75,11 @@ public:
int indexOf(char c) const;
/**
+ * Returns the index of the first occurance of a given string
+ */
+ int indexOf(const char *s) const;
+
+ /**
* Returns the index of the last occurance of a given character
*/
int lastIndexOf(char c) const;