bool RemoveChars(const std::string& input, const base::StringPiece& remove_chars, std::string* output) { return ReplaceChars(input, remove_chars.as_string(), std::string(), output); }
bool TrimString(const std::string& input, const base::StringPiece& trim_chars, std::string* output) { return TrimStringT(input, trim_chars.as_string(), TRIM_ALL, output) != TRIM_NONE; }
bool ReplaceChars(const std::string& input, const base::StringPiece& replace_chars, const std::string& replace_with, std::string* output) { return ReplaceCharsT(input, replace_chars.as_string(), replace_with, output); }