[ create a new paste ] login | about

Link: http://codepad.org/MK0HgLQI    [ raw code | output | fork ]

Lua, pasted on Jun 27:
1
2
3
4
5
local a = "123456789" 

for mat in string.gmatch(a,"(%d%d%d%d-)") do
print(mat)
end


Output:
1
2
3
123
456
789


Create a new paste based on this one


Comments: