Skip to content

Instantly share code, notes, and snippets.

@jyrkive
Created July 15, 2018 10:26
Show Gist options
  • Save jyrkive/963db99f94297857dea7af9e692b361f to your computer and use it in GitHub Desktop.
Save jyrkive/963db99f94297857dea7af9e692b361f to your computer and use it in GitHub Desktop.
local function split_to_array(s)
local a = {}
for m in utils.split(s) do table.insert(a, m) end
return a
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment