Skip to content

Instantly share code, notes, and snippets.

@adrianparvino
Created June 11, 2018 11:29
Show Gist options
  • Save adrianparvino/a1e4a4ed3b294c01b325b8802e46855f to your computer and use it in GitHub Desktop.
Save adrianparvino/a1e4a4ed3b294c01b325b8802e46855f to your computer and use it in GitHub Desktop.
string = "s7 test"
for k, v in string.gmatch(string, "(%S+)%s(%S+)") do
_G[k] = v
end
print(s7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment