diff --git a/src/libs/sqlite/utf8string.h b/src/libs/sqlite/utf8string.h index cd1d6fdb550..f23237d2bea 100644 --- a/src/libs/sqlite/utf8string.h +++ b/src/libs/sqlite/utf8string.h @@ -116,6 +116,26 @@ public: byteArray.append(textToAppend.byteArray); } + void chop(int n) + { + byteArray.chop(n); + } + + int indexOf(const Utf8String &text) const + { + return byteArray.indexOf(text.byteArray); + } + + int indexOf(const char *text) const + { + return byteArray.indexOf(text); + } + + int indexOf(char character) const + { + return byteArray.indexOf(character); + } + bool contains(const Utf8String &text) const { return byteArray.contains(text.byteArray); @@ -151,6 +171,16 @@ public: return byteArray.endsWith(text.byteArray); } + bool endsWith(const char *text) const + { + return byteArray.endsWith(text); + } + + bool endsWith(char character) const + { + return byteArray.endsWith(character); + } + bool isNull() const { return byteArray.isNull();