Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

str remove char c++

static  void StrRemoveChar(std::string& s1, char l)
{
  s1.erase(std::remove(s1.begin(), s1.end(), l), s1.end());
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #str #remove #char
ADD COMMENT
Topic
Name
2+3 =