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

added ruby
(added perl)
(added ruby)
Line 131:
>>> stripchars("She was a soul stripper. She took my heart!", "aei")
'Sh ws soul strppr. Sh took my hrt!'</lang>
 
=={{header|Ruby}}==
<lang ruby>>> "She was a soul stripper. She took my heart!".delete("aei")
=> "Sh ws soul strppr. Sh took my hrt!"</lang>
 
=={{header|Tcl}}==
Anonymous user