35 return source.erase(1 + source.find_last_not_of(t));
41 return source.erase(0, source.find_first_not_of(t));
68 return trim(source, t);
std::string & trim(std::string &source, std::string const &t=" ")
std::string & trim_right(std::string &source, std::string const &t=" ")
std::string trim_copy(std::string source, std::string const &t=" ")
std::string trim_right_copy(std::string source, std::string const &t=" ")
std::string & trim_left(std::string &source, std::string const &t=" ")
std::string trim_left_copy(std::string source, std::string const &t=" ")