У меня есть строка в lua.
Это - набор [a-zA-Z0-9] + разделенный числом (1 или больше) пробелы.
Как я беру строку и разделяю ее на таблицу строк?
s = "foo bar 123"
words = {}
for word in s:gmatch("%w+") do table.insert(words, word) end
s="How do I take the string and split it into a table of strings?"
for w in s:gmatch("%S+") do print(w) end