From: Rk Ch Date: 2008-02-01T17:25:52+09:00 Subject: Problem: Array.to_s return [["..."]] in 1.9.0 I use Array.to_s convert to string. Ruby 1.9.0 return like [["sample string"]], but 1.8.6 return only the value. How to resolve this problem? I really don't want to revise so many lines of code. :) Here's the sample code : text="Source String line......." d_lo=text.scan(/Str(.*?)g/).to_s puts d_lo 1.8.6 return:in 1.9.0 return:[["in"]] -- Posted via http://www.ruby-forum.com/.