Module:RemoveSpace

From Pirate Software Wiki
Revision as of 19:26, 16 September 2024 by Djinnet (talk | contribs) (Does this work now?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

local p = {}

function p.removeSpaces(frame)
    local name = frame.args[1]
    local result
    result = mw.ustring.gsub(name, " ", "")
    return result
end

return p