From: "Iñaki Baz Castillo" Date: 2009-07-22T06:00:12+09:00 Subject: Re: Simple problem with Regular Expression El Martes, 21 de Julio de 2009, Max Norman escribió: > fruit.scan(/^./) do |first| If you are using Ruby 1.9 jthen do: fruit[0] => returns the first char of fruit. -- Iñaki Baz Castillo