From: Craig Demyanovich Date: 2009-03-06T00:32:59+09:00 Subject: Re: add a new line after, w/txtfile thats comma delimited --0016364ee4e676a2eb046460e677 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit You should just be able to split each line on ',' which will give you an array of values in the line. Then you can just puts the array. Here's a little IRB session with some ideas. >> line = "value1,value2,value3" => "value1,value2,value3" >> values = line.split(',') => ["value1", "value2", "value3"] >> values.each { |value| puts value } value1 value2 value3 => ["value1", "value2", "value3"] >> puts values value1 value2 value3 => nil >> Regards, Craig -- Craig Demyanovich Mutually Human Software http://mutuallyhuman.com --0016364ee4e676a2eb046460e677--