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:
parent
ddc18fa6c2
commit
60d684282b
3 changed files with 31 additions and 35 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue