From: Suraj Kurapati Date: 2012-01-13T03:30:45+09:00 Subject: Re: Stripping double quotes Chad Perrin wrote in post #1040132: > On Tue, Jan 10, 2012 at 07:31:11AM +0900, Mickey Vogel wrote: >> How do I get an output that doesn't have double quotes? I tried >> using gsub but it was of no use. > > How is gsub no use? Because String#tr() is a better choice. ;-) > new_string = string.gsub('"', '') new_string = string.tr('"', '') -- Posted via http://www.ruby-forum.com/.