Anonymous user
Strip a set of characters from a string: Difference between revisions
Strip a set of characters from a string (view source)
Revision as of 02:23, 10 July 2011
, 12 years agoAdded Nemerle
(Go solution) |
(Added Nemerle) |
||
Line 201:
<lang j> 'She was a soul stripper. She took my heart!' -. 'aei'
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}}==
|