67 741
contributi
mNessun oggetto della modifica |
mNessun oggetto della modifica |
||
Riga 246: | Riga 246: | ||
end | end | ||
--Removes suffix year or number specification | --Further process the string only if it contains multiple words | ||
if FullName:match("%s") ~= nil then | |||
--Removes suffix year or number specification | |||
FullName = FullName:gsub("%s%(%d+%)", "") | |||
--Removes suffix registry number | |||
FullName = FullName:gsub("%s[^%s]+$", "") | |||
end | |||
return FullName | return FullName |