11 #ifndef TLX_STRING_REPLACE_HEADER 12 #define TLX_STRING_REPLACE_HEADER 76 std::string* str,
const char* needle,
const char* instead);
144 const std::string& str,
const char* needle,
const char* instead);
211 std::string* str,
const char* needle,
const char* instead);
275 const std::string& str,
const char* needle,
const char* instead);
293 #endif // !TLX_STRING_REPLACE_HEADER
std::string & replace_all(std::string *str, const std::string &needle, const std::string &instead)
Replace all occurrences of needle in str.
std::basic_string< char, std::char_traits< char >, Allocator< char > > string
string with Manager tracking
std::string & replace_first(std::string *str, const std::string &needle, const std::string &instead)
Replace only the first occurrence of needle in str.