table.concat
Lua function table.concat Summary Concatenates table items together into a string Prototype `s = table.concat (t, sep, start, end)` Description `Returns the (numeric) entries in the table t, concatenated together with "sep" as the separator, starting at index 'start' and ending at index 'end'. The entries are returned as a single string variable. Contrast this to the "unpack" function which returns a table as individual variables. Start defaults to 1 and end the table size. Sep defaults to an empty string.
    t = { "the", "quick", "brown", "fox" }
    print (table.concat (t, ';')) --> the;quick;brown;fox
` See Also ... Topics Lua base functions Lua bc (big number) functions Lua bit manipulation functions Lua coroutine functions Lua debug functions Lua io functions Lua math functions Lua os functions Lua package functions Lua PCRE regular expression functions Lua script extensions Lua string functions Lua table functions Lua utilities Scripting Lua functions table.foreach (Applies a function to each item in a table) table.foreachi (Applies a function to each item in a numerically-keyed table) table.getn (Returns the size of a numerically-keyed table) table.insert (Inserts a new item into a numerically-keyed table) table.maxn (Returns the highest numeric key in the table) table.remove (Removes an item from a numerically-keyed table) table.setn (Sets the size of a table (obsolete)) table.sort (Sorts a table) (Help topic: lua=table.concat) Documentation contents page