Capitalize first letter
Merges a value in lower case with its first character in upper case. Use it to rescue a greeting from data that was typed in all capitals or all lower case.
Syntax
{{capitalFirst data culture}}
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| Data | Text | Required | The value to change. |
| Culture | Text | Optional | The culture used to decide how letters change case, such as tr-TR. Your account's default is used when you leave it out. |
Note: This lower cases everything after the first character, so it raises the first letter of the first word only. A full name of "John Smith" merges as "John smith". For a name, Titlecase is almost always the one you want, because it raises the first letter of every word.
Examples
The examples below are based on the following sample content:
Dear {{capitalFirst Contact.firstName}},
A. The contact's firstName field has the value jOHN
Dear John,
B. The contact's firstName field has the value john
Dear John,
C. The field holds a full name, John Smith
Dear John smith,
Only the very first character is raised, which is why Titlecase suits a full name better.