Hi Erlang Developers,<br><br>Where do i start in terms of reading CSV file, because i tried to use this rountines:<br><br>{ok,String} = file:open("produce.csv",read).<br>io:get_line(String, ' ').<br><br>but when i used this rountine: io:get_line(String,' ') to read each line i got this tuple: {error,terminated},<br>
<br>And the file i'm trying to read is like this:<br><br>"Supplier ID","Product Code","Product Description","Delivery Date","Unit Price","Number of Units"<br>
15,1101,"Apples 1kg Golden Delicious. The sweetest Apples! Always a favourite. Love, Mrs. Hollingberry","2012/02/15",1505,5<br><br>Thanks in advance for your help.<br><br>Kindest Regards<br>Lucky<br><br>
<br>