diff options
Diffstat (limited to 'src/common/Utilities/Util.h')
-rw-r--r-- | src/common/Utilities/Util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/Utilities/Util.h b/src/common/Utilities/Util.h index f13f39c8912..9d4717dded4 100644 --- a/src/common/Utilities/Util.h +++ b/src/common/Utilities/Util.h @@ -289,6 +289,7 @@ inline wchar_t wcharToLower(wchar_t wchar) } TC_COMMON_API void wstrToUpper(std::wstring& str); +TC_COMMON_API void strToLower(std::string& str); TC_COMMON_API void wstrToLower(std::wstring& str); TC_COMMON_API std::wstring GetMainPartOfName(std::wstring const& wname, uint32 declension); @@ -341,6 +342,8 @@ inline std::vector<uint8> HexStrToByteVector(std::string const& str, bool revers TC_COMMON_API bool StringToBool(std::string const& str); +TC_COMMON_API bool StringEqualI(std::string const& str1, std::string const& str2); +TC_COMMON_API bool StringStartsWith(std::string const& haystack, std::string const& needle); TC_COMMON_API bool StringContainsStringI(std::string const& haystack, std::string const& needle); template <typename T> inline bool ValueContainsStringI(std::pair<T, std::string> const& haystack, std::string const& needle) |