Anonymous user
Module:String2: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
suppress second value from gsub()
(function stripZeros) |
(suppress second value from gsub()) |
||
Line 89:
local s = mw.text.trim(frame.args[1] or "")
n = tonumber( string.match( s, "%d+" ) ) or ""
return s
end
|