From: Logan Capaldo Date: 2007-05-04T22:43:04+09:00 Subject: Re: RCR? ------=_Part_39618_5599505.1178286182522 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 5/4/07, Robert Dober wrote: > > > There would be another road to talk of course but it will brake to much > code. > > String#delete_all( str_or_rgx ) > String#delete_first( str_or_rgx) > String#delete_last(str_or_rgx) # (1) > String#delete an alias to String#delete_all > and of course the same thing for the ! variations of these methods > > Getting OT, here but am I the only fool who constantly forgets that String#delete is _not_ destructive like (Array|Hash)#delete_at ? I proceed to fix my problem: class String alias without delete end "abc".without("a") ------=_Part_39618_5599505.1178286182522--