Human name splitter demo

Split full names into first and last names using split-human-name

  • Splits a name into exactly two fields { firstName, lastName }
  • Fixes UPPERCASE, lowercase, iNVERSE CASE, and otherwise FUnkY cAse
  • Handles couples (“John and Jane Doe”)
  • Gracefully degrades to put the entire string in firstName if there are multiple last names

Enter full names, one per line:

Written on