fork(37) download
  1. local example = "12345#data"
  2. for i in string.gmatch(example, "[^#]+") do
  3. print(i)
  4. end
Success #stdin #stdout 0s 2832KB
stdin
Standard input is empty
stdout
12345
data