diff options
Diffstat (limited to 'engines/glk/archetype/string.h')
-rw-r--r-- | engines/glk/archetype/string.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/glk/archetype/string.h b/engines/glk/archetype/string.h index f85ed37d1a..5afa4d6037 100644 --- a/engines/glk/archetype/string.h +++ b/engines/glk/archetype/string.h @@ -77,6 +77,11 @@ public: int indexOf(const String &substr) const; /** + * Returns the index of a substring within this string starting at a given index + */ + int indexOf(const String &substr, int start) const; + + /** * Returns the last index of a character in a string, or -1 if it isn't present */ int lastIndexOf(char c) const; |