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

Line 263:
rdvrks r nt trs.
-></pre>
 
=={{header|J}}==
'''Solution:'''<br>
The dyadic primitive <code>-.</code> ([http://www.jsoftware.com/help/dictionary/d121.htm Less]) is probably the simplest way to solve this task.
 
'''Example Usage:'''
<lang j> 'She was a soul stripper. She took my heart!' -. 'aei'
Sh ws soul strppr. Sh took my hrt!</lang>
 
=={{header|Java}}==