Here i have one big array that has multiple arrays inside. I need to remove double quotes from each array. I tried all different methods to pull out quotes but none seem to work.
Current code produces this result:
[
["1,jone,matt,ny,none,doctor"],
["2,maria,lura,nj,some,engineer"],
["3,paul,kirk,la,none,artist"]
]
const storeArray = [];
for(var i = 0; i < results.length; i++) {
var finalArray = results[i].id + "," + results[i].name + "," + results[i].lastname + "," + results[i].address + "," + results[i].status + "," + results[i].about;
storeArray.push([finalArray]);
}
res.send(storeArray);