From: Cassio Godinho Date: 2012-02-03T02:35:02+09:00 Subject: Re: Reading specific columns on a text file Bartosz DziewoƄski wrote in post #1043736: > line.split(" ")[0 , 11] does, in fact, return 11 items, starting from > 0th. > > To return 0th and 11th column, use line.split(" ").values_at(0, 11), > > > -- Matma Rex Thank you very much, that was perfect. By the way, what are my options in case I want to use those values to plot a chart using only ruby and gems? For web I could just use Highcharts or anything like that, but im making a command line script, if I could display a window with the graph it would be perfect. -- Posted via http://www.ruby-forum.com/.