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