From: Dave Thomas Date: 2001-01-08T23:59:16+09:00 Subject: [ruby-talk:8872] Re: About string return from IO::gets "and.u" writes: > How to limit string which return from IO::gets max length ? You could use #read instead http://www.rubycentral.com/ref/ref_c_io.html#read Dave