forked from qt-creator/qt-creator
Sqlite: Add endsWith to UtfString
Change-Id: I82ea54a1e23625690192a967b5f33451cdc199af Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
@@ -153,6 +153,11 @@ bool Utf8String::startsWith(char character) const
|
||||
return byteArray.startsWith(character);
|
||||
}
|
||||
|
||||
bool Utf8String::endsWith(const Utf8String &text) const
|
||||
{
|
||||
return byteArray.endsWith(text.byteArray);
|
||||
}
|
||||
|
||||
bool Utf8String::isEmpty() const
|
||||
{
|
||||
return byteArray.isEmpty();
|
||||
|
||||
Reference in New Issue
Block a user