On May 26, 6:14 ¨Âí¬ ·óôõ÷òïôåº > > combined_lines = [] > temp = '' > > original_lines.each do |line| > temp << line > > if temp[-1] == %q{"} > combined_lines << temp > temp = '' > end > end > > p combined_lines > > --output:-- > ["\"Only one line.\"", "\"line 1 ¨Âéܢ¢Ý > That code _almost_ works. I changed the one line to "temp[-1,1]" and then it worked! =) This looks exactly like what I need. Thanks! Cheers! Paul.