If not starts with

Conditionally merges different content depending on whether a value does not begin with the text you give. Use it to treat one prefix as the exception and everything else as the normal case.

Syntax

{{#ifNotStartsWith data value}}true content{{else}}false content{{/ifNotStartsWith}}

Parameters

Name Type Required Description
Data Text Required The value to evaluate.
Value Text Required The text the value must not begin with.
Note: Capitalization is ignored, so US also matches a value beginning us.

Examples

The examples below are based on the following sample content:

{{#ifNotStartsWith Contact.programCode "1"}}Thank you for your purchase!{{else}}Thank you!{{/ifNotStartsWith}}

A. The contact's programCode field has a value of 9

Thank you for your purchase!

B. The contact's programCode field has a value of 1

Thank you!

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