if.not_contains

/ Conditionals / if.not_contains

 

Title : if.not_contains
Purpose : if haystack not contains needle then executes
Syntax : [if.not_contains needle=”value” haystack=”{array}”]

/** ** code***/

[/if.not_contains]

Example 1 :
Code : [if.not_contains needle=”xyz” haystack=”{template.arg_array}”]

[aw2. get template.not_contains_string]

[/if.not_contains ]

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

Description : if haystack not contains needle then executes.

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

Categories
Most Popular

Leave a Reply

Your email address will not be published.