[ create a new paste ] login | about

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

nepta - Lua, pasted on Nov 5:
1
2
3
4
5
6
x = "programming-idioms"
y = "idioms"

i = x:find(y)

print(i)


Output:
1
13


Create a new paste based on this one


Comments: