Strip a set of characters from a string: Difference between revisions

Content added Content deleted
(→‎{{header|C++}}: Added C++ solution)
Line 25:
{
std::cout << stripchars("She was a soul stripper. She took my heart!", "aei") << '\n';
return 0;
}</lang>
Output: