From: Trans Date: 2009-08-24T05:56:29+09:00 Subject: Re: 1.8.7 String#lines keeps new-line chars (say it ain't so in 1.9) On Aug 23, 10:05 am, Stephen Bannasch wrote: > It isn't the same but in many places where I might use String#lines > I'd use code like this in Ruby 1.8.6: > >    >> "first line\nsecond line\nthird line".split("\n") >    => ["first line", "second line", "third line"] Exactly. And I guess I'll just have to keep on doing that then.