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

Go to the source code of this file.

Namespaces

namespace  tlx
 

Functions

std::string & erase_all (std::string *str, char drop=' ')
 Remove all occurrences of the given character in-place.
 
std::string & erase_all (std::string *str, const char *drop)
 Remove all occurrences of the given characters in-place.
 
std::string & erase_all (std::string *str, const std::string &drop)
 Remove all occurrences of the given characters in-place.
 
std::string erase_all (const std::string &str, char drop=' ')
 Remove all occurrences of the given character, return copy of string.
 
std::string erase_all (const std::string &str, const char *drop)
 Remove all occurrences of the given characters, return copy of string.
 
std::string erase_all (const std::string &str, const std::string &drop)
 Remove all occurrences of the given characters, return copy of string.