On Fri, 05 Sep 2008 12:04:46 +0200, Pepe Sanchez <jsnit / jsnit.com> wrote: > I would like to read all the characters in a string. For example > "123456" I need to read every digit separately. For strings use "123456".split(//) for integers "123456".split(//).map{|x| x.to_i} HTH, Josef 'Jupp' Schugt -- Blog: http://penpen.goodaddress.eu/ PGP key (id 6CC6574F): http://wwwkeys.de.pgp.net/ Jabber - http://www.jabber.org/ - contact information on request