From: Peter Bailey Date: 2008-04-08T22:35:00+09:00 Subject: simple, simple array question Hi, I need to cap-and-lowercase words in strings of XML data. Why is this happening in this test? stuff = [ "This", "is", "a", "test" ] stuff.collect { |x| puts x.capitalize! } I get: nil Is A Test Program exited with code 0 What's with the "nil?" Thanks, Peter -- Posted via http://www.ruby-forum.com/.