From: James Edward Gray II Date: 2005-12-11T06:59:40+09:00 Subject: Re: Logic... On Dec 10, 2005, at 3:52 PM, StarLion wrote: > >> >> This code returns a 10 element array, with 0 in index 9. > > Nevermind... I just cant count how many characters i put on one line. Which is probably a sign that input error checking is needed: input =~ /^\d{9}$/ James Edward Gray II