Module:Sandbox/Deimos18/Names
Appearance
-- Deimos Google Code-in, Names of people
local p = {}
p.getnames = function (frame)
local name = name or ""
local format = format or ""
local revname = string.reverse(name)
local l_name = string.match("(%a+)")
local f_name = string.gsub(name, l_name, "", 1)
return "Given Name: " .. f_name .. " Family Name: " .. l_name
end
return p