A function that accepts the full name of a person in any format, parses it, and returns its parts { title, first name, middle name, last name, nickname, suffix, [and any parsing errors] }.
74
stars
15
forks
source link
Not parsing properly when name has a dash (-). #30
The functions returns only last in case string is passed B05-1005 In my opinion, it should return return
Also, is there a way we can choose which part to include in which case by passing preferences?