From: Dave Burt Date: 2006-04-03T21:33:46+09:00 Subject: Re: Learn to Program, by Chris Pine Jan_K wrote: > Chapter 9, exercise 1 (page 76) > ... Perfect. I can't see any problems at all. Let me add something, though. Instead of chomping the string, you can strip it. String#strip removes all whitespace from the beginning and end of the string, rather than just a single \n from the end. Cheers, Dave