CSV Reader/Parser in Apex

  • 1
  • Question
  • Updated 3 years ago
Hi Team,

We  use reference data to drive the skuid UI logic. Some of the reference data fields are text area and long text area having multiple line breaks ('\n' character). We would like to populate reference data in client orgs with postinstall script. PostInstall script would look for the csv file in the static resource and parse it to produce list of list of strings (List<List<String>>). I was able to do this for the csv file not having multi-line fields. However, I could not parse fields having multiple lines. Any idea how to parse csv file having multi-line fields? 

Thanks!

Regards, 
Gyan
Photo of Gyan

Gyan

  • 1,400 Points 1k badge 2x thumb

Posted 3 years ago

  • 1

Be the first to post a reply!