יחידה:String: הבדלים בין גרסאות בדף
מ str.contains_any_csv |
מאין תקציר עריכה |
||
| שורה 506: | שורה 506: | ||
]] | ]] | ||
function str.contains_any_csv( frame ) | function str.contains_any_csv( frame ) | ||
for word in mw.ustring.gmatch(frame.args[ | for word in mw.ustring.gmatch(frame.args[2], '([^,]+)') do | ||
local m=mw.ustring.find( frame.args[1], word, 0, true) | local m=mw.ustring.find( frame.args[1], word, 0, true) | ||
if m then | if m then | ||