Summary
Char()
Concat()
Format()
IndexOf()
Length()
Lowercase()
Propercase()
RegExMatch()
ReplaceList()
Replace()
Substring()
StringToHex()
Trim()
Uppercase()
Returns specified string with the first letter of each word capitalized.
| Marketing Cloud Engagement | ✅ Yes |
| Marketing Cloud Next | ✅ Yes |
This function became available in Marketing Cloud Next during the Summer ’26 release (API version 67.0).
1ProperCase(sourceString)The ProperCase() function has one parameter:
sourceString (string): Required. The string to convert to proper case.To use the function, pass it a string that you want to convert to proper case. The function converts the first letter of each word to uppercase, regardless of the length of the word.
This example converts certain address strings from all-caps to proper case, and then uses the Concat() function to combine them.
1%%[
2 Var @addressLine1, @city, @postalCode, @fullAddress
3 Set @addressLine1 = "9 BYWATER STREET"
4 Set @city = "LONDON"
5 Set @postalCode = "SW3 4NX"
6 Set @fullAddress = Concat(ProperCase(@addressLine1), ", ",
7 ProperCase(@city), " ",
8 @postalCode)
9]%%
10<p>Visit your nearest retail location at %%=v(@fullAddress)=%%.</p>The function returns the specified strings in proper case.
1Visit your nearest retail location at 9 Bywater Street, London SW3 4NX.