Parse Person's Full Name and Format Casing
Takes a person's full name written as a single string and splits it into its parts (title, first name, last name, and so on) while tidying up the casing. Use it to get a clean first name for greetings or to standardise names captured from free text.
What it does
- Parses a full name into separate components such as title, first name, middle name, last name and suffix.
- Formats the casing so names display in a clean, user-friendly way.
- Returns the first name on its own for quick use in greetings.
- Reports whether the name could be parsed through the
Successflag.
Inputs
| Name | Type | Description |
|---|---|---|
| Name | String | name to parse |
Outputs
| Name | Type | Description |
|---|---|---|
| Success | Boolean | whether managed to parse the name |
| First Name | String | person first name |
| Name Object | Object | name object with properties if parsed |
Notes
- If no first name can be identified, the action returns
Success: falsewith an error rather than a parsed result. - The full set of parsed parts is available in the
Name Objectoutput;First Nameis provided separately for convenience.