Page 1 of 1

Lua help

Posted: Wed Apr 29, 2020 6:34 pm
by Narnai
I'm stuck with trying to concatenating a table.

table.concat doesn't seem to want to use \n (new line) as a delimiter. Is there a workaround?

Thanks.

Re: Lua help

Posted: Wed Apr 29, 2020 6:43 pm
by demonnic
It seems to be working for me. ` is my lua alias:
` testTable = { "one", "two", "three" }
` echo(table.concat(testTable, "\n"))
one
two
three