+ Start a Discussion
SowjanyaSowjanya 

Split CSV file

Hi,

 

I am uploading a csv file in VF page.

 

I want to split the uploaded file into smaller parts and then parse.

 

Can anyone let me know how to split a file into smaller parts.

 

Thanks in Advance!!

Venkata Sowjanya

 

 

ignatiuz_forceignatiuz_force

you would have to parse the data from the big csv and then create new csvs with the chunks of data.

SowjanyaSowjanya

My  CSV contains 50,000 records. If I parse 50,000 records are more at a time i will hit script statement error. 

 

so I want to split the file into smaller parts and parse seperately. this may overcome the governor limits.

 

Thanks & Regards

Venkata Sowjanya