0

I have been trying to reformat a CSV output string into an array with each row of data.

The string looks like this

428780970341,19903254,9/7/2022 6:46:59 AM,9/7/2022 9:21:02 AM,9242,428780973398,20277971,9/7/2022 7:01:41 AM,9/7/2022 8:59:52 AM,7090

I need to split the rows by the 6th value. The array should look like this

Arrresponse
[1] 428780970341,19903254,9/7/2022 6:46:59 AM,9/7/2022 9:21:02 AM,9242
[2] 428780973398,20277971,9/7/2022 7:01:41 AM,9/7/2022 8:59:52 AM,7090
Rory McCrossan
  • 331,213
  • 40
  • 305
  • 339

0 Answers0