Capitalize last letter

Merges a value in lower case with its final character in upper case. It is the mirror image of Capitalize first letter, which raises the first character instead.

Syntax

{{capitalLast 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 raises the last character of the whole value, not the last word. A value of jASON smith merges as jason smitH, because the final h is the last character. If the value ends in a space or punctuation, nothing appears to change, since there is no letter in that position to raise.
Note: If you are trying to tidy up a name, this is almost certainly not the helper you want. Use Titlecase to raise the first letter of every word, or Capitalize first letter for the first letter only.

Examples

The examples below are based on the following sample content:

{{capitalLast Contact.code}}

A. The contact's code field has the value abc123x

abc123X

B. The contact's code field has the value jASON smith

jason smitH

C. The contact's code field is empty

Nothing is merged.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us