<kidding>This is a Ruby and not a Basic group.</kidding>

mopthisandthat / hotmail.com wrote:
> Suppose "OOO.csv" is a data file with 9 columns, and I want to create a
> new file that is consisted of 2nd, 5th, and 7th columns of the OOO.csv
> (i.e., subset of the original), how do I do this?

Use CSV for parsing and writing:

http://www.ruby-doc.org/stdlib/libdoc/csv/rdoc/index.html

Kind regards

	robert