Jump to content

Module:RemoveSpace: Difference between revisions

m
Does this work now?
(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]
     return mw.ustring.gsub(name, " ", "")
     local result
    result = mw.ustring.gsub(name, " ", "")
    return result
end
end


return p
return p