求函数string.find的意思
lua吧
全部回复
仅看楼主
level 4
scaride 楼主
s,e = string.find("Hello Lua users","Lua")
print("The begin index is " .. s .. ", the end index is " .. e .. ".")
书上没解释
2014年05月09日 23点05分 1
level 11
在Hello lua users 中查找lua起始字符位置s和结束字符位置e。
2014年05月17日 16点05分 3
level 2
3楼已经解释的很清楚了
2015年04月09日 10点04分 5
1