Robert Dober wrote:
> I suppose you mean to_s.

No, he doesn't.

str.tr_s(from_str, to_str)   => new_str
     Processes a copy of _str_ as described under +String#tr+, then
     removes duplicate characters in regions that were affected by the
     translation.
        "hello".tr_s('l', 'r')     #=> "hero"
        "hello".tr_s('el', '*')    #=> "h*o"
        "hello".tr_s('el', 'hx')   #=> "hhxo"


-- 
Jabber: sepp2k / jabber.org
ICQ: 205544826