Strip a set of characters from a string

From Rosetta Code
Revision as of 06:26, 20 February 2021 by Drkameleon (talk | contribs) (Replaced content with "=={{header|Arturo}}== <lang rebol>stripChars: function [str, chars]-> join select split str => [not? in? & split chars] print stripChars "She was a soul stripper. She...")

Arturo

<lang rebol>stripChars: function [str, chars]->

   join select split str => [not? in? & split chars]

print stripChars "She was a soul stripper. She took my heart!" "aei"</lang>

Output:
Sh ws  soul strppr. Sh took my hrt!