parse-full-name icon indicating copy to clipboard operation
parse-full-name copied to clipboard

Last name prefix 'van den' is not parsed as part of the last name

Open pillowfication opened this issue 6 years ago • 1 comments

'van den' is treated like a middle name, unlike 'van der', 'van de', etc.

parse('Johannes van den Bosch').last // 'Bosch'
parse('Johannes van der Bosch').last // 'van der Bosch'
parse('Johannes van de Bosch').last  // 'van de Bosch'

pillowfication avatar Jan 16 '19 22:01 pillowfication

@pillowfication we've taken over ownership of this library I'm moving issues into our fork. Please feel free to comment further on your issue there.

chris-pardy avatar Sep 16 '19 15:09 chris-pardy