On This Page
advertisement

The transforms in this category modify letter casing:

Transform Description
capitalize Changes the first letter of words in the value to uppercase, and the remaining letters in the words to lowercase
initialCapital Changes the first letter of the first word in the value to uppercase, and the remaining letters in the value to lowercase
isLowerCase Returns true if the value contains no uppercase letters
isMixedCase Returns true if the value contains uppercase and lowercase letters
isUpperCase Returns true if the value contains no lowercase letters
lowercase Changes the letters in the value to lowercase
uppercase Changes the letters in the value to uppercase

capitalize

Changes the first letter of words in the value to uppercase, and the remaining letters in the words to lowercase.

For example, if a Field named City has the value "WILKES-BARRE", the result of [City:capitalize] is "Wilkes-Barre".

initialCapital

Changes the first letter of the first word in the value to uppercase, and the remaining letters in the value to lowercase.

For example, if a Field named City has the value "WILKES-BARRE", the result of [City:initialCapital] is "Wilkes-barre".

isLowerCase

Returns true if the value contains no uppercase characters. Otherwise, it returns false. This transform is intended for advanced usage where a template must vary based on whether a value contains no uppercase characters. This transform does not add any text to the output.

For example, if a Field named Surname has the value "smith", the result of [Surname:isLowerCase] is true. To vary the template output based on the result, follow this model:

<[Surname:isLowerCase]true|false>

In practice, "true" and "false" above would typically be replaced by some manipulation of the value:

<[Surname:isLowerCase][Surname:uppercase]|[Surname]>

isLowerCase does not verify that a value contains only lowercase letters. isLowerCase ensures that the value contains no uppercase letters. That means isLowerCase will return true for a value that contains no letters at all, or contains only digits, punctuation, or lowercase letters.

Value isLowerCase Result
smithtrue
smith-barneytrue
smith + barneytrue
(smith)true
SMITHfalse
Smithfalse
123true

isMixedCase

Returns true if the value contains uppercase and lowercase letters. Otherwise, it returns false. This transform is intended for advanced usage where a template must vary based on whether a value contains a mix of uppercase and lowercase letters. This transform does not add any text to the output.

For example, if a Field named Surname has the value "Smith", the result of [Surname:isMixedCase] is true. To vary the template output based on the result, follow this model:

<[Surname:isMixedCase]true|false>

In practice, "true" and "false" above would typically be replaced by some manipulation of the value:

<[Surname:isMixedCase][Surname:uppercase]|[Surname]>
Value isMixedCase Result
Smithtrue
Smith-Barneytrue
Smith + Barneytrue
(smith)false
SMITHfalse
smithfalse
123false

isUpperCase

Returns true if the value contains no lowercase characters. Otherwise, it returns false. This transform is intended for advanced usage where a template must vary based on whether a value contains no lowercase characters. This transform does not add any text to the output.

For example, if a Field named Surname has the value "SMITH", the result of [Surname:isUpperCase] is true. To vary the template output based on the result, follow this model:

<[Surname:isUpperCase]true|false>

In practice, "true" and "false" above would typically be replaced by some manipulation of the value:

<[Surname:isUpperCase][Surname:lowercase]|[Surname]>

isUpperCase does not verify that a value contains only uppercase letters. isUpperCase ensures that the value contains no lowercase letters. That means isUpperCase will return true for a value that contains no letters at all, or contains only digits, punctuation, or uppercase letters.

Value isUpperCase Result
SMITHtrue
SMITH-BARNEYtrue
SMITH + BARNEYtrue
(SMITH)true
smithfalse
Smithfalse
123true

lowercase

Changes the letters in the value to lowercase.

For example, if a Field named City has the value "WILKES-BARRE", the result of [City:lowercase] is "wilkes-barre".

uppercase

Changes the letters in the value to uppercase.

For example, if a Field named City has the value "Wilkes-Barre", the result of [City:uppercase] is "WILKES-BARRE".