From: pere.noel@... (=?ISO-8859-1?Q?Une_b=E9vue?=) Date: 2006-07-11T04:00:06+09:00 Subject: Re: Real newbie question about methods studlee2@gmail.com wrote: > valid = /\d{2}/ #checks for exactly 2 digits this woundn't help because of gets.chomp returns always strings and gets.chomp.to_i returns Fixnum with 0 in case of any alpha betic char in gets... -- une b�vue