יחידה:String: הבדלים בין גרסאות בדף
מאין תקציר עריכה |
rep |
||
| שורה 513: | שורה 513: | ||
end | end | ||
return | return | ||
end | |||
str.rep = function( frame ) | |||
local strval, repval = frame.args[1] or '', tonumber( frames.args[2] ) | |||
if not repval then return '' end | |||
return string.rep( strval, repval ) | |||
end | end | ||
return str | return str | ||