Skip to content

How do I use "modifiers" to change the way Wellbeing merge fields are used?

The Sentral letter generator allows the use of "modifiers" which changes the way the merge field behaves, and enables functionality or changes the way the word is generated.
Modifiers are used as
follows:
{MergeFieldName modifier}

Example:
{HeandShe} - after a ‘.’ (full-stop) and beginning a new sentence is not capitalising.
“... meeting. he will be required to ...”
Solution:
{HeandShe ucfirst} - makes the first letter of the word capitalised.
“... meeting. He will be required to ...”

The available modifiers are:

ModifierFunction
lowerMakes all text lower case
upperMake all text upper case
ucfirstMakes the first character upper case
ucwordsMakes the first character of each word upper case
numberTurns a number into its word representation eg; 1 becomes one
ordinalTurns a number into its ordinal eg; 2 becomes 2nd
numberedTurns a number into its word representation of its ordinal eg; 2 becomes second

Feedback and Knowledge Base