while""do r=io.read()e=r:sub(-1)print(r:sub(1,1)..' '..e..' '..#r-r:find(e)+1)end
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page