![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Go to the source code of this file.
Namespaces | |
namespace | Acore |
namespace | Acore::String |
Functions | |
template<typename Format , typename... Args> | |
std::string | Acore::StringFormat (Format &&fmt, Args &&... args) |
Default AC string format function. | |
template<typename... Args> | |
std::string | Acore::StringFormatFmt (std::string_view fmt, Args &&... args) |
bool | Acore::IsFormatEmptyOrNull (char const *fmt) |
Returns true if the given char pointer is null. | |
bool | Acore::IsFormatEmptyOrNull (std::string_view fmt) |
Returns true if the given std::string is empty. | |
template<class Str > | |
AC_COMMON_API Str | Acore::String::Trim (const Str &s, const std::locale &loc=std::locale()) |
AC_COMMON_API std::string | Acore::String::TrimRightInPlace (std::string &str) |
AC_COMMON_API std::string | Acore::String::AddSuffixIfNotExists (std::string str, const char suffix) |
Util function to add a suffix char. Can be used to add a slash at the end of a path. | |