You can use table.concat()
to get the result string:
local str = table.concat(tbl)
print(str)
It can do more, in particular, table.concat()
takes a second optional parameter, which can be used as the separator, for instance, to use commas to separate each elements:
local str = table.concat(tbl, ',')
The biggest advantage of table.concat()
versus direct string concatenation is performance, see PiL §11.6 for detail.