From: Austin Ziegler Date: 2007-08-17T00:42:35+09:00 Subject: Re: Double quote escape character On 8/16/07, Alvaro Perez wrote: > Hi all, > > I think there is not problem at all as it seems that the FasterCSV class > is the one who's erasing the double quotes while converting the strings > to cvs. > > Anyway, it's still interesting to notice that there's no possible way to > write in Ruby a string like this: > > ""hello"" Sure there is. '"hello"' '""hello""' "\"hello\"" "\"\"hello\"\"" %{"hello"} %{""hello""} <<-EOS "hello" ""hello"" EOS (Okay, that last one actually makes a multi-line string, but the point remains the same.) -austin -- Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ * austin@halostatue.ca * http://www.halostatue.ca/feed/ * austin@zieglers.ca