Handlebar Helper Function: Propercase

Capitalizes the first letter of each word in a string and converts all other letters to lowercase.

Availability 

This helper is available in the Winter ’26 release of Marketing Cloud Next (API version 65.0).

Syntax 

1{{propercase subject culture}}

Parameters 

ParameterTypeDescription
subjectStringRequired. The string to convert to proper case.
cultureStringA POSIX locale code for culture-specific case conversion, such as tr-TR. This parameter is helpful with Turkic languages in which the dotless capital letter I is converted to a dotless lowercase letter ı, as opposed to the lowercase letter i found in other Latin alphabets. The operation supports both hyphen (az-AZ) and underscore (az_AZ) formats. If you don’t specify a culture code, the operation uses the current system culture.

Return Value 

The operation returns the input string with the first letter of each word capitalized and all other letters converted to lowercase.

If the input is null, the operation returns an empty string. If the input isn’t a string, the operation converts it to a string and applies proper case conversion.