Module:Sandbox/Ajuanca/Names: Difference between revisions

Content deleted Content added
Implementing surname detection
Testing
 
Line 269:
local terminations = {"ez", "es", "is", "iz"}
for c, termination in ipairs(terminations) do
local finalLetters = string.sub(namefullNameTable[1], -2, -1)
if (finalLetters == termination) then
isGiven = false
Line 295:
local terminations = {"ez", "es", "is", "iz"}
for c, termination in ipairs(terminations) do
local finalLetters = string.sub(namefullNameTable[1], -2, -1)
if (finalLetters == termination) then
isGiven = false