From: Matt Armstrong Date: 2002-01-17T07:41:56+09:00 Subject: Re: a wishlist for ruby 2.0 jobeicus@hotmail.com (Joseph Benik) writes: > Ok i had two ideas for the next version of ruby but can only remember > one at the moment..... > > tr should only require one argument, the second argument should > default to '' if it isn't supplied. this seems in the spirit of > ruby's path of least resistance, and would be backwards compatible > > example: > > "string".tr('g') => "strin" You have that today with String#delete: "beef".delete('e') => "bf" -- matt