Lua - convert a table into a comma separated list
If your table is an array, you can use table.concat
to print CSVs:
t={10,20,30}
print(table.concat(t,","))
outputs 10,20,30
.
There isn't a built in function, but there are examples onthe web.
This is a decent one actually.