On 2/11/07, J. mp <joaomiguel.pereira / gmail.com> wrote: > Hi, > if I do this > ?> puts "usa".tr('a','b') > usb > => nil > > it works > > but with this: > >> puts "usa".tr('?','b') > > It stays forever waiting for not sure about what. Does not work > > what I'm doing wrong? > > -- > Posted via http://www.ruby-forum.com/. > > In your second example, the string contains 'a' but after tr.... Harry -- http://www.kakueki.com/ruby/list.html