In my names, I have 'complicated' text. There are situations where there might be both a delimited nickname and a delimited suffix. The suffix text is being added to the nickname.
Since you have known suffixes, I would hope it easy to check the parsed nickname against the known suffix list, adding the text to suffixes. I looked closely at this part of the code yet.
Another possible logic addition might be to check the location of the delimited nickname and add any additional (beyond the first) items to the suffix.
I would rather discuss this idea with you before looking at the code. You might know, in advance, that I'll break some important functionality.
In my names, I have 'complicated' text. There are situations where there might be both a delimited nickname and a delimited suffix. The suffix text is being added to the nickname.
Since you have known suffixes, I would hope it easy to check the parsed nickname against the known suffix list, adding the text to suffixes. I looked closely at this part of the code yet.
Another possible logic addition might be to check the location of the delimited nickname and add any additional (beyond the first) items to the suffix.
I would rather discuss this idea with you before looking at the code. You might know, in advance, that I'll break some important functionality.