Skip to content

Middle names #10

Open
Open

Description

@kalvish21

Why does this library not support middle names?

p = NameParse.parse("Dr. Juan Quincy Adams Xavier de la Vega III")

I get:

firstName: "Juan Quincy Adams Xavier"
initials: ""
lastName: "De La Vega"
salutation: "Dr."
suffix: "III"

Seems like all names before initial/last name are first name? lol.

Activity

  1. eljeffeg commented on Oct 19, 2016

    @eljeffeg
    Contributor

    @kalvish21 Here is fork I modified for genealogical purposes, which includes middle name. In my case, it would have parsed the first name as "Juan Quincy" and the middle name as "Adams Xavier". https://github.com/jeffg2k/SmartCopy/blob/master/parse-names.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions