Module:Nn-stradj-root

There are no reviewed versions of this page, so it may not have been checked for adherence to standards.

Documentation for this module may be created at Module:Nn-stradj-root/doc

local p = {}

function p.find(frame)
    word = frame.args[1]
    length = word:len()
    root = word:sub(1, length-2)
    return root
end

return p