need help in reading a file

Hi,
I have a CSV file (comma seperated value) file at a particular path say /tmp/root/filelist/myfile.txt
given input file path as: /tmp/root/filelist/myfile.txt
and the contents of the file is like:

assdfrghjk,1246uguu,hgjkhjkjihk,uy6r68iyik
jhfjyhfiykjjk,kuyiuktg8i986,i7t7it7uit,6565
gjuukhkhl,khyurgjg,ljoiyurd7,kut76ug


how to go to that particular path,read the file line by line and store each value in a variable with comma (',') as seperator ( each line has 4 values seperated by comma).
Please help me in this
Topic archived. No new replies allowed.