Truncate

Merges the value truncated to a specified length and appends an optional custom text to denote an omission.

SYNTAX
{{truncate data length omission}}
PARAMETERS
Name Type Required Description
Data Text Required Data to be formatted.
Length Number Required The number of characters to keep.
Omission Text Optional Text to denote an omission.
EXAMPLES

The examples below are based on the following sample content:

Feedback received: {{truncate Contact.Feedback 15 "..."}}

A. Contact’s Feedback field has the value Great service with fantastic results and no omission characters

Feedback received: Great service wi

B. Contact’s Feedback field has the value Great service with fantastic results and “…” omission characters

Feedback received: Great service wi...

C. Contact’s Feedback field has the value Great service and “…” omission characters

Feedback received: Great service...
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