|
| 09 Aug 2014 05:22 AM |
TABLE = {hi1,hi2,hi3} print(table.concat (TABLE, ',')..' :TEST')
--This should print this: hi1,hi2,hi3 --How would I make it print this: {hi1,hi2,hi3} |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2014 05:28 AM |
Do you mean something such as this?, TABLE = {"hi1","hi2","hi3"} print("{"..table.concat(TABLE, ',').."}"..':TEST')
|
|
|
| Report Abuse |
|
|
|
| 09 Aug 2014 05:31 AM |
No cause i'm using it for something else. Not print'{ }' I need the output to be {} without using a simple"{" needs to be in the code. |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2014 05:32 AM |
| Found another way to do it thanks anyways. |
|
|
| Report Abuse |
|
|