Module:String2: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(findpagetext) |
(add simple trim function) |
||
Line 1: | Line 1: | ||
local p = {} |
local p = {} |
||
p.trim = function(frame) |
|||
local s = mw.text.trim(frame.args[1]) |
|||
return s |
|||
end |
|||
p.upper = function(frame) |
p.upper = function(frame) |