Content deleted Content added
Testing |
Implementing function |
||
Line 235:
table.remove(fullNameTable)
end
local connectors = {"de", "del", "y"}▼
table.insert(name.givenNames, fullNameTable[1])
table.remove(fullNameTable, 1)
function getPositionOfConecctors(fullNameTable)
for d, actualName in ipairs(fullNameTable)do
local firstSurname = 0
Line 264:
if(positions[1]~=0) then
if(positions[2]~=0)then
table.insert(name.familyNames, table.concat(fullNameTable, " ", (positions[1]), (positions[2]-1) ))
table.insert(name.familyNames, table.concat(fullNameTable, " ", positions[2]))
else
|