tlx
Loading...
Searching...
No Matches
trim.hpp File Reference
#include <string>

Go to the source code of this file.

Namespaces

namespace  tlx
 

Functions

Trim
std::string & trim (std::string *str)
 Trims the given string in-place on the left and right.
 
std::string & trim (std::string *str, const char *drop)
 Trims the given string in-place on the left and right.
 
std::string & trim (std::string *str, const std::string &drop)
 Trims the given string in-place on the left and right.
 
std::string trim (const std::string &str)
 Trims the given string in-place on the left and right.
 
std::string trim (const std::string &str, const char *drop)
 Trims the given string in-place on the left and right.
 
std::string trim (const std::string &str, const std::string &drop)
 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_right (std::string *str, const char *drop)
 Trims the given string in-place only on the right.
 
std::string & trim_right (std::string *str, const std::string &drop)
 Trims the given string in-place only on the right.
 
std::string trim_right (const std::string &str)
 Trims the given string only on the right.
 
std::string trim_right (const std::string &str, const char *drop)
 Trims the given string only on the right.
 
std::string trim_right (const std::string &str, const std::string &drop)
 Trims the given string only on the right.
 
std::string & trim_left (std::string *str)
 Trims the given string in-place only on the left.
 
std::string & trim_left (std::string *str, const char *drop)
 Trims the given string in-place only on the left.
 
std::string & trim_left (std::string *str, const std::string &drop)
 Trims the given string in-place only on the left.
 
std::string trim_left (const std::string &str)
 Trims the given string only on the left.
 
std::string trim_left (const std::string &str, const char *drop)
 Trims the given string only on the left.
 
std::string trim_left (const std::string &str, const std::string &drop)
 Trims the given string only on the left.