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, soUSalso matches a value beginningus.
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!