From: "Stephan Kämper" Date: 2001-12-31T04:40:41+09:00 Subject: [ruby-talk:29753] Re: comma-delimited to an array "Hal E. Fulton" wrote: > > > On Sun, Dec 30, 2001 at 08:37:31AM +0900, Dash Riprock wrote: > > > I've got a file in which each line has comma-delimited items. A > > > sample might look like this: > > > > array=line.split(",") > > > > Another of those posts I wish I could retract. > > Obviously this is the correct solution. ....unless something like whatever,"foo, bar",and_what_not appears in the list... > > Mine was silly. ;)