You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add support for combined initials - without separating space (e.g. in 'TJ Hooker' or 'T.J. Hooker')
(This slightly changes the parsing behaviour as e.g. TJ Hooker would have previously ended up as Tj Hooker, with Tj being the first name. However, this was seen as a bug, so this change is not treated as a breaking change.)
enable parsing suffixes in patterns of the form lastname, firstname suffix where they were previously parsed as middle names (#18, thanks for reporting @adrienne)
add tests for lastname, firstname, suffix and lastname, firstname initial, suffix patterns
limit salutation to the first half of the parts and allow overriding via setMaxSalutationIndex()
remap special values like suffix, nickname and salutation from the end of the string as lastnames if otherwise no lastname can be found (#11, thanks again @VinceG)
enable separate retrieval of last name prefixes via getLastnamePrefix() and pure last names (without prefixes) via getLastname(true) (#10, thanks @divinenanny)