Content deleted Content added
another optimization |
optimization |
||
Line 7:
local function pad(padlen, ...)
if 1 > select('#', ...) then
return ("0"):rep(padlen)
Line 20 ⟶ 19:
local function padleft(str, ...)
if 1 > select('#', ...) then
return str
end
return pad(
end
local function padright(str, ...)
if 1 > select('#', ...) then
return str
end
return str .. pad(
end
|