[ create a new paste ] login | about

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

Lua, pasted on Feb 4:
1
2
3
4
5
6
7
local text = "test:110"
local pos = text:find( ":" )
			
if pos then
    text = text:sub( pos+1 )
    print(text)
end


Output:
1
110


Create a new paste based on this one


Comments: