Finding '.' with string.find()
snippet in lua

Finding '.' with string.find()

user3366

> i, j = string.find(s, '.', 1, true)   -- plain search starting at character 1
> print(i, j) 
6 6