local TestTable = {1, 2, 3, 4, 5} -> {"1", "2", "3", "4", "5"}
These values can already be used as a string
, so I dont really know why you would need to do it.
and looping would make this much easier.
1 Like
As simple as it sounds, use tostring
method per value.
-- Numeric loop style
for i = 1, #TestTable do
TestTable[i] = tostring(TestTable[i])
end
Unless you intend to use the table for single values for each thing when needed, just call tostring
or sometimes it gets implicitly invoked whenever applied into a parameter.
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.