local newtext = "."
local index1 = string.find(newtext,"%.")
在这里,"."是通配符,如果想搜索到".",加上"%","%"是转义字符
Lua搜索特殊字符
阅读 218
2022-11-07
local newtext = "."
local index1 = string.find(newtext,"%.")
在这里,"."是通配符,如果想搜索到".",加上"%","%"是转义字符
相关推荐
精彩评论(0)