if.not_contains

/ Conditionals / if.not_contains

if haystack not contains needle then executes

Parameters supported : needle(key), haystack(comma separated string)

Syntax

[if.not_contains needle=”value” haystack=”{array}”]
/** *
* code
*
**/
[/if.not_contains]

Example
//** let there is an array containing abc,def,pqr as strings **//


[if.not_contains needle=”xyz” haystack=”{template.arg_array}”]
[aw2. get template.not_contains_string]
[/if.not_contains ]

Categories
Most Popular

Leave a Reply

Your email address will not be published. Required fields are marked *