From: Tanushree Bhoi Date: 2006-05-26T15:21:36+09:00 Subject: help regarding extracting a particular value in a file ------=_Part_102262_33465260.1148624493219 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi all , I am new to ruby.I need to retrieve values from a file in my ruby script.That file contains different nos of rows.. and in single row i have many parameters which are separated by comma.How can i retrieve a particular parameter value from a file.can u plz help? example- my file contains data like product1,product2,product3,....etc comp1,comp2,comp3....etc.. If i want to retrieve product2 how can i do it.Please help me.Now i am doin= g it by putting only single value in a row. --=20 Thanks & Regards Tanushree Bhoi Software Engineer applabs Technologies e-mail : tanushree.bhoi@applabs.com :tanushree.bhoi@gmail.com ------=_Part_102262_33465260.1148624493219--