fork(2) download
  1. GET = {}
  2. GET["positionX"] = "50,80,110"
  3. tabela={}
  4. i = 1
  5. for palavra in string.gmatch(GET["positionX"], '([^,]+)') do
  6. tabela[i] = palavra
  7. i = i + 1
  8. end
  9. for k, v in pairs(tabela) do print(k, v) end
  10.  
  11. --https://pt.stackoverflow.com/q/54083/101
Success #stdin #stdout 0s 4240KB
stdin
Standard input is empty
stdout
1	50
2	80
3	110