If not starts with
Conditionally merges different content depending on if the data starts with the value.
SYNTAX
{{#ifNotStartsWith data value}}true content{{else}}false content{{/ifNotStartsWith}
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:
{{#ifNotStartsWith Contact.programCode “1”}} Thank you for your purchase! {{else}} Thank you! {{/ifNotStartsWith}}
A. Contact’s programCode field has a value of 9
Thank you for your purchase!
B. Contact’s programCode field has a value of 1
Thank you!