Module:Sandbox/Ajuanca/Names: Difference between revisions

Content deleted Content added
Testing
Testing
Line 239:
function getPositionOfConecctors(fullNameTable)
local connectors = {"de", "del", "y"}
local firstSurname = 0
local lastSurname = 0
for d, actualName in ipairs(fullNameTable)do
local firstSurname = 0
local lastSurname = 0
for x, connector in ipairs(connectors) do
if(connector == actualName) then
Line 261:
end
local positions = getPositionOfConecctors(fullNameTable)
if(positions[1]==nil)then
postions[1]=0
end
if(positions[2]==nil)then
positions[2]=0
end
if(positions[1]~=0) then
if(positions[1] ~= 1) then