Array is coming with extra comma when typed [UI.VISION]

Hi, I did a code to read emails and get some data from them. The result is a csv file in a format like this:


However, when I do use the comand Type to write the entire array into a textarea, I get the follow result:


When I check the log and variable I get :

I think when I use the command TYPE de comma between are being printed.
Anyone know how to fix this?
Is this a bug with not way to be fixed?
Thanks for any ideas

Hi, interesting issue. Do you have have a test macro that I could run?

I used chat GPT and found a workaround:

var jorge = ${LANE};
var texto = “”;
for(var i = 0; i < jorge.length; i++) {
texto += jorge[i].join(“,”) + “\n”;
return texto;