Runtime verified Differs from official docs Test scripts included

Capitalizes the first letter of each word and lowercases the rest.

Syntax

{{propercase subject [culture]}}

Returns string.

Parameters

Name Type Required Description
subject string Yes String to change to proper case.
culture string No Locale code (for example tr-TR) whose letter-case rules apply.

Example

Tested in a Marketing Cloud Next email on 2026-11-25, alone in the email:

  • {{propercase "hELLO wORLD"}} renders HelloWorld. The documented result is Hello World: the space between the words is lost.
  • Helper names are case-sensitive. {{properCase …}} (camelCase) is rejected when the email is saved as an unsupported helper; only the documented spelling propercase works.
Show Next test script
<!-- Marketing Cloud Next test script for the propercase helper. Paste it into the HTML component of a
     Next email and open the preview. Each line prints the result Next gave when the call
     was rendered on its own (expect) next to the result of this run (got).
     Assembled from single-call test emails (dates on the page); it has not been
     run as one email. Calls that make Next fail are listed separately. -->
<p>c1 expect=[HelloWorld] got=[{{propercase "hELLO wORLD"}}]</p>

Show calls that fail in Next (one email each)
<!-- Run each call below in its own Next email: one of them in a combined email
     would stop the whole preview or block the save. -->

<!-- email 1: expect that the save is rejected (HTTP 400) -->
{{properCase "hELLO wORLD"}}

Differs from official docs

  • The reference says the helper capitalizes the first letter of each word and lowercases the rest; it does not mention removing spaces. In Marketing Cloud Next (tested 2026-11-25): {{propercase "hELLO wORLD"}} rendered HelloWorld, with the space between the words dropped. Details

Marketing Cloud Next

See also