fork(1) download
  1. local s = "/path?first,,,second,,,third,value,,,fourth"
  2. s = s:gsub("^[^?]*%?", ""):gsub(",,,", "\0")
  3. for word in string.gmatch(s, "[^\0]+") do print(word) end
Success #stdin #stdout 0s 14112KB
stdin
Standard input is empty
stdout
first
second
third,value
fourth