Allow to store multiple values with a single store | !csvLine into a CSV line

I ran today into an scenario trying for efficiency reason to write multiple values with a single store | Value | !csvLine command into my CSV line before writing it with csvSave into my file.

This is about eliminating a Foreach / end loop that would reduce my runtime for 26 records from 10 seconds to 2.

Below is a simplified code that shows what I’m looking for (currently creating two csv columns but not 3) → “John,Doe”,hello

{
“Command”: “store”,
“Target”: “John”,
“Value”: “firstName”,
“Description”: “”
},
{
“Command”: “store”,
“Target”: “Doe”,
“Value”: “lastName”,
“Description”: “”
},
{
“Command”: “store”,
“Target”: “${firstName},${lastName}”,
“Value”: “!csvLine”,
“Description”: “”
},
{
“Command”: “store”,
“Target”: “hello”,
“Value”: “!csvLine”,
“Description”: “”
},
{
“Command”: “csvSave”,
“Target”: “names.csv”,
“Value”: “”,
“Description”: “”
}

I was thinking the best solution would be if you pass an array to store | !csvLine it would separate them automatically into the CSV line values.

I suggest csvSaveARRAY and csvReadARRAY. They save/read all lines from the array to/from the hard drive.

that could be a workaround… but if you have to deal with 2000 rows with 20 columns each i’m not sure how much memory that takes and if that breaks the environment.

to have a single !csvLine for multiple records would be a nice to have.