Module:Sandbox/Quantum10000

local p = {} p.noun_declension = function(frame) local str = frame.args.input -- nu-n=>n, ku-k=>k if string.len(str) > 3 and string.sub(str, 1, 1) == string.sub(str, 4, 4) then if string.sub(str, 2, 2) == 'u' and string.sub(str, 3, 3) == '&' then str = string.sub(str, 4) end end str = string.gsub(str, "&", "") return str end

return p