11 #ifndef TLX_STRING_TRIM_HEADER 12 #define TLX_STRING_TRIM_HEADER 32 std::string&
trim(std::string* str);
42 std::string&
trim(std::string* str,
const char* drop);
52 std::string&
trim(std::string* str,
const std::string& drop);
61 std::string
trim(
const std::string& str);
71 std::string
trim(
const std::string& str,
const char* drop);
81 std::string
trim(
const std::string& str,
const std::string& drop);
102 std::string&
trim_right(std::string* str,
const char* drop);
112 std::string&
trim_right(std::string* str,
const std::string& drop);
121 std::string
trim_right(
const std::string& str);
131 std::string
trim_right(
const std::string& str,
const char* drop);
141 std::string
trim_right(
const std::string& str,
const std::string& drop);
152 std::string&
trim_left(std::string* str);
162 std::string&
trim_left(std::string* str,
const char* drop);
172 std::string&
trim_left(std::string* str,
const std::string& drop);
181 std::string
trim_left(
const std::string& str);
191 std::string
trim_left(
const std::string& str,
const char* drop);
201 std::string
trim_left(
const std::string& str,
const std::string& drop);
208 #endif // !TLX_STRING_TRIM_HEADER std::string & trim(std::string *str)
Trims the given string in-place on the left and right.
std::string & trim_right(std::string *str)
Trims the given string in-place only on the right.
std::string & trim_left(std::string *str)
Trims the given string in-place only on the left.