Created
July 18, 2014 07:49
-
-
Save operator-DD3/1c94a0dfe514fef84fb6 to your computer and use it in GitHub Desktop.
String to Table
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local str = "text" | |
local t = {} | |
for i = 1, #str do | |
t[i] = str:sub(i, i) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment