Topics covered:
You can insert text functions in the Email Template to append, prepend, uppercase, downcase, concat, and remove texts from the particular field.
Append
This function appends the text mentioned by you along with the value of the field.
!Input:
Append Example :{{Contact.name | append:", Hope you are doing well"!}}
Output:
Append Example: {Lina Westminster, Hope you are doing well!}
Prepend
This function prepends the text mentioned by you along with the value of the field.
Input:
Prepend Example : {{Contact.name | prepend : "Hello"}}
Output:
Prepend Example: Hello Lina Westminster
Uppercase
This function converts each character of the word in uppercase.
Note: It has no effect on strings that are already all uppercase.
Input:
Uppercase : {{"Contact.name" | upcase}}
Output:
Uppercase: LINA WESTMINSTER
Downcase
This function converts each character of the word in lowercase.
Note: It has no effect on words that are already all lowercase.
Input:
LowerCase: {{"Contact.name" | downcase}}
Output:
LowerCase: lina westminster
Comments
0 comments
Article is closed for comments.