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 13:44, 11 August 2011
, 12 years agoadded Ursala
m (omissions) |
(added Ursala) |
||
Line 491:
set s "She was a soul stripper. She took my heart!"
puts [stripchars $s "aei"]</lang>
=={{header|Ursala}}==
Normally there's no need to define this operation because it's built in.
<lang Ursala>strip = ~&j
#cast %s
test = strip('she was a soul stripper. she took my heart','aei')</lang>
output:
<pre>
'sh ws soul strppr. sh took my hrt'
</pre>
{{omit from|Bc}}
|