Thomas, Mark - BLS CTR wrote: > ChrisH wrote: > > aidy wrote: > > > > > > I can't see a trim in Ruby. > > > > Look at chomp and chop > > The Ruby Extensions Project has String#trim: > http://extensions.rubyforge.org/rdoc/ Superfluous. Use .rstrip.