local newtext = "."


local index1 = string.find(newtext,"%.")

在这里,"."是通配符,如果想搜索到".",加上"%","%"是转义字符

相关文章: