How can i extract a particular field from a given line.
example:
07870635509,3,0,29052002,DORMANT,05011998,1,2,128,0,0,0
In the above line i have to extract 5th field. the size of each field varies from one line to another. so i would like to extract the field using its field number.
Thanks for the help