利用循环方式精确查询
for i=1,#youtable do
if youtable[i]== '查询的值' then
retun youtable[i]
end
end
利用循环方式从左向右查询
local newtable={}
for i=1,#youtable do
local start, end_ = string.find(youtable[i], "查询的值")
if start then
newtable[#newtable+1]=youtable[i]
end
retun newtable
end