How to convert a table into a string

I would like to know how to convert an table from {"Test","test2"} to "Test test2" I know that you can use JSONEncode and JSONDecode also table.unpack() BUT those do not work efficiently. Please help if you can, thank you!

8 Likes

table.concat({ "Test", "test2" }, " ")

This returns a string of all the elements separated by a space.

19 Likes