Module:RemoveSpace: Difference between revisions
(This should work to remove spaces in names) |
m (Does this work now?) |
||
Line 3: | Line 3: | ||
function p.removeSpaces(frame) | function p.removeSpaces(frame) | ||
local name = frame.args[1] | local name = frame.args[1] | ||
local result | |||
result = mw.ustring.gsub(name, " ", "") | |||
return result | |||
end | end | ||
return p | return p |