mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 02:50:29 +00:00
fix(Core/Utilites): improve acore::String::Trim (#4704)
- Improve `acore::String::Trim` - Delete `acore::String::Reduce` - Skip line comment #4748
This commit is contained in:
@@ -42,8 +42,8 @@ namespace acore
|
||||
|
||||
namespace acore::String
|
||||
{
|
||||
std::string Trim(std::string const& str, std::string_view whitespace = " \t");
|
||||
std::string Reduce(std::string const& str, std::string_view fill = " ", std::string_view whitespace = " \t");
|
||||
template<class Str>
|
||||
Str Trim(const Str& s, const std::locale& loc = std::locale());
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user