If starts with

Conditionally merges different content depending on if the data starts with the value.

SYNTAX
{{#ifStartsWith data value}}true content{{else}}false content{{/ifStartsWith}}
PARAMETERS
Name Type Required Description
Data Text Required Data to be evaluated.
Value Text Required Value to be searched.
EXAMPLES

The examples below are based on the following sample content:

{{#ifStartsWith Contact.programCode “US”}}     United States {{else}}     International {{/ifStartsWith}}

A. Contact’s programCode field has a value of 123US

International

B. Contact’s programCode field has a value of US456

United States
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