This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
CLNinja's profile picture

Concatenate all values in a table

Started by CLNinja, 25 July 2017 - 02:01 AM
CLNinja #1
Posted 25 July 2017 - 04:01 AM
If i have a table formatted like such lets say


{"hello"," ","there"}

Is there a way to concatenate each value together to form one string?
Lyqyd #2
Posted 25 July 2017 - 04:42 AM
Are you looking for table.concat()?
CLNinja #3
Posted 25 July 2017 - 05:45 AM
Are you looking for table.concat()?

Good god i feel like an idiot now.


I honestly didn't know that was a thing.

Thanks Lyqyd.