fork(1) 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
Success #stdin #stdout 0s 2832KB
stdin
Standard input is empty
stdout
1	50
2	80
3	110