Skip to content
Returns the parts (leading initial, first, middle, last, suffix) of a name from a string. C#/.NET Port of the original PHP HumanNameParse
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Name: HumanNameParser

Date: 12-Nov-2017

Author: James M. Curran (based on the work of Jason Priem, et al)



Port of the original PHP HumanNameParse into C#/.NET (.NET Standard v1.3) (Original: )

Takes human names of arbitrary complexity and various wacky formats like:

  • J. Walter Weatherman
  • de la Cruz, Ana M.
  • James C. ('Jimmy') O'Dell, Jr.

and parses out the:

  • leading initial (Like "J." in "J. Walter Weatherman")
  • first name (or first initial in a name like 'R. Crumb')
  • nicknames (like "Jimmy" in "James C. ('Jimmy') O'Dell, Jr.")
  • middle names
  • last name (including compound ones like "van der Sar' and "Ortega y Gasset"), and
  • suffix (like 'Jr.', 'III')
You can’t perform that action at this time.