+ Start a Discussion
sfadm sfadmsfadm sfadm 

CSV file towards two dimensional array


I have a blob object which is a CSV file and I need a method to return all lines from that file in the following data structure:
List<List<String>>
where each element of that data structure
(List<String>)
is a separate line in the file.

Please advise how this can be achieved and implemented?

All Answers

sfadm sfadmsfadm sfadm
Thank you Ramakant. Much appreciated. With slight modifications in the code I managed to use it successfully.