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

Content deleted Content added
Sonia (talk | contribs)
Go solution
Added Nemerle
Line 201: Line 201:
<lang j> 'She was a soul stripper. She took my heart!' -. 'aei'
<lang j> 'She was a soul stripper. She took my heart!' -. 'aei'
Sh ws soul strppr. Sh took my hrt!</lang>
Sh ws soul strppr. Sh took my hrt!</lang>

=={{header|Nemerle}}==
<lang Nemerle>StripChars( text : string, remove : string ) : string
{
def chuck = Explode(remove);
Concat( "", Split(text, chuck))
}</lang>


=={{header|Objective-C}}==
=={{header|Objective-C}}==