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

add BQN
(Added solution for Action!)
(add BQN)
Line 747:
Sh ws soul strppr. Sh took my hrt!
</pre>
 
=={{header|BQN}}==
The key function here is set difference, which is <code>(¬∘∊/⊣)</code>.
 
<lang bqn> StripChars ← (¬∘∊/⊣)
¬∘∊/⊣
"She was a soul stripper. She took my heart!" StripChars "aei"
"Sh ws soul strppr. Sh took my hrt!"</lang>
 
=={{header|Bracmat}}==
236

edits