Display Name logic
Curious about how we detect and handle names for a Display Name in Levitate?
- We attempt to detect & remove middle initials
- We attempt to handle values that include a comma, which could be things like "Last, First." Anything messier than that (like multiple full names) is a bit unpredictable.
- We attempt to spot and keep common suffixes like Jr., Sr., II, III, etc. along with the last name.
- Finally, we remove white space and apply some standard casing to the first and last names that we decided on when pulling.