Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

MMore/full_name_splitter

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FullNameSplitter

CI Hex

Full Name Splitter is a library to split a full name simply into first and last name.

It was inspired by the JavaScript port. But it uses a tokenizer built with Erlang leex and a parser built with Erlang yecc.

Installation

Add full_name_splitter to your list of dependencies in mix.exs:

def deps do
  [
    {:full_name_splitter, "~> 1.0.0"}
  ]
end

Usage

FullNameSplitter.split("Leonardo da Vinci")
{"Leonardo", "da Vinci"}

FullNameSplitter.split("Johan de heer Van Kampen")
{"Johan", "de heer Van Kampen"}

FullNameSplitter.split("Anthony R Von Fange III")
{"Anthony R", "Von Fange III"}

About

Full Name Splitter is a library to split a full name simply into first and last name.

Topics

Resources

Stars

Watchers

Forks

Releases

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.