From: Paul Battley Date: 2006-04-18T21:53:11+09:00 Subject: Re: split words with two columns On 18/04/06, Farrel Lifson wrote:> You could use shift and then join the rest: Even better, just don't split them in the first place: marked_up_lines = lines.map do |line| eazon, mezo = line.split($;, 2) "#{mezo}\n"end Paul.