Code for reading comma delimeter values from .csv file

Hi

Good Morning. I am having one .csv file contains like below format

A,H,328254,1,,Att: L J AMIS,,,3 GILL COURT?,,AU,ROWVILLE
A,L,1,328254,LD-901 ,,1,EA,,19/03/2007,99,9,99,,,,,,

In above record H means Header and L means Line. While reading lines i need to check whether it is H or L.

I need code for reading these comma delimeter values for assinging to parameters using Lines xsi:type and Content method.

give me reply asap with your valuable suggesttions or code.

Thanks,
Balaji
[574 byte] By [BalajiRao] at [2007-11-20 10:29:15]