AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Functions | |
template<class Str > | |
AC_COMMON_API Str | Trim (const Str &s, const std::locale &loc=std::locale()) |
AC_COMMON_API std::string | TrimRightInPlace (std::string &str) |
AC_COMMON_API std::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. | |
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.
str | String where to apply the suffix |
suffix | Character to add at the end of the str |
Referenced by DBUpdater< T >::ApplyFile().
AC_COMMON_API Str Acore::String::Trim | ( | const Str & | s, |
const std::locale & | loc = std::locale() |
||
) |
Referenced by anonymous_namespace{Config.cpp}::ParseFile().
std::string Acore::String::TrimRightInPlace | ( | std::string & | str | ) |