shared/include/common.hpp
inline std::string rtrim_ws(const std::string s, const char* t = whitespace) {
		std::string _s = s;
		_s.erase(_s.find_last_not_of(t) + 1);
		return _s;
	}
// trim from end of string (right)
trim from end of string (right)
trim from end of string ( right )
inline std::string rtrim_ws(const std::string s, const char* t = whitespace) {
		std::string _s = s;
		_s.erase(_s.find_last_not_of(t) + 1);
		return _s;
	}
inline std :: string rtrim_ws ( const std :: string s , const char * t = whitespace ) { std :: string _s = s ; _s . erase ( _s . find_last_not_of ( t ) + 1 ) ; return _s ; }
trim from end of string (right)
trim from end of string ( right )