From: Simon Schuster Date: 2007-08-18T03:30:12+09:00 Subject: removing something from the end of each item in an array in this case a "\n"... ["blah\n", "la\n", "hooray\n"] array.collect { |x| x - "\n" } doesn't work, and I can't manage to find any methods which might do the trick.. pretty basic, but I'm still a beginner! thanks.