问题描述
我一直在尝试将字符串转换为表格,例如:
local stringtable = "{{"user123","Banned for cheating"},{"user124","Banned for making alt accounts"}}"
代码:
local table = "{{"user123","Banned for making alt accounts"}}"
print(table[1])
输出结果:
Line 3: nil
有没有什么方法可以将字符串转换成表格?如果是这样,请告诉我。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)