Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Returns the parts (leading initial, first, middle, last, suffix) of a name from a string.

License

Notifications You must be signed in to change notification settings

lightspeedretail/HumanNameParser.php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Name: HumanNameParse.php

Version: 0.2

Date: 6 Sept. 2010

Author: Jason Priem [email protected]

Website: http://jasonpriem.com/human-name-parse

License: http://www.opensource.org/licenses/mit-license.php

Description

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')

See the website for usage, features, issues, credits, and documentation. You can also leave comments and requests there.

About

Returns the parts (leading initial, first, middle, last, suffix) of a name from a string.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%