What i did was extract the records from database and change the extension name to .csv. My problem is there is a records contains comma between records if i opened it in excel it will generate the comma as new field(please see below example)
file1.csv
a,JunJun,Binay,b,c - where in JunJun,Binay is consider only as 1 field. because of the comma delimeter it will display it as 2 fields which is wrong.
wrong output:
a,JunJun,Binay,b,c
Expected Output in csv file
HeaderA HeaderB HeaderC HeaderD
a,JunJun,Binay,b,c
where in
Field 1 = a
Field 2 = JunJun,Binay
Field 3 = b
Field 4 = c