A function that accepts the full name of a person in any format, parses it, and returns its parts { title, first name, middle name, last name, nickname, suffix, [and any parsing errors] }.
Parsing for names like "Joe van den Berg" are returning 'Berg' as the last name. The last name should be "van den Berg".
Also tried "Joe Van Den Berg" but that did not help.
However, it is working for names similar like "Joe van der Berg".
"Van de Berg", "van den Berg" and "van der Berg" should probably all work -- they mean the same thing in general "from the mountain" and are very common Dutch surnames (see https://www.dutchgenealogy.nl/popular-dutch-surnames/).
Otherwise-- thanks much for what you have-- seems well documented and well thought out.
Parsing for names like "Joe van den Berg" are returning 'Berg' as the last name. The last name should be "van den Berg". Also tried "Joe Van Den Berg" but that did not help. However, it is working for names similar like "Joe van der Berg".
"Van de Berg", "van den Berg" and "van der Berg" should probably all work -- they mean the same thing in general "from the mountain" and are very common Dutch surnames (see https://www.dutchgenealogy.nl/popular-dutch-surnames/).
Otherwise-- thanks much for what you have-- seems well documented and well thought out.