eval and parse still exist in Julia 0.3, so I'm not sure what you're referring to. (But using eval to assign the result to a global variable is an odd way to do things...).
You can use readcsv to read a line of double-quoted strings, as long as there is no whitespace around the commas (see https://github.com/JuliaLang/julia/issues/8224) On Wednesday, September 3, 2014 10:08:12 AM UTC-4, RecentConvert wrote: > > What is an easy way of parsing a line of comma separated double quoted > strings into an array of strings? I have some CSV files with multiple > headers lines. In Julia 0.2.1 I did it this way. > > eval(parse("cols = [" * cols[1:end-2] * "]")) # -2 to avoid the \r\n > > eval doesn't appear to exist in Julia 0.3. I could parse it all in a loop > with a few find statements but I feel there must be a better way. >
