aidy wrote:
> 
> I can't see a trim in Ruby.

Look at chomp and chop