diff options
Diffstat (limited to '3rdparty/bx/include/bx/string.h')
-rw-r--r-- | 3rdparty/bx/include/bx/string.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/3rdparty/bx/include/bx/string.h b/3rdparty/bx/include/bx/string.h index 7b27cc3a103..edb257a6f32 100644 --- a/3rdparty/bx/include/bx/string.h +++ b/3rdparty/bx/include/bx/string.h @@ -227,6 +227,12 @@ namespace bx /// Concatinate string. int32_t strCat(char* _dst, int32_t _dstSize, const StringView& _str, int32_t _num = INT32_MAX); + /// Test whether the string _str begins with prefix. + bool hasPrefix(const StringView& _str, const StringView& _prefix); + + /// Test whether the string _str ends with suffix. + bool hasSuffix(const StringView& _str, const StringView& _suffix); + /// Find character in string. Limit search to _max characters. StringView strFind(const StringView& _str, char _ch); |