| From(投稿者): | "Jason110" <typatel@gmail.com> |
|---|---|
| Newsgroups(投稿グループ): | fj.comp.lang.ruby |
| Subject(見出し): | How to parse this file? |
| Date(投稿日時): | 27 Jan 2005 20:14:38 -0800 |
| Organization(所属): | http://groups.google.com |
| Message-ID(記事識別符号): | (G) <1106885678.658944.220430@c13g2000cwb.googlegroups.com> |
I want to parse this file into an array using Ruby. Can anyone help. I want each string to be a cell of the array. The text is in the following format: 1,AAA,BBB,10.234324,11.234324 50,CCC,AAA,23432.234,11.11111 756,GRE,CCC,234,324.2 34,AAA,CCC,7867.392,293.00