if.contains
/
Conditionals /
if.contains
By Amit Singh. Posted on
Title |
: |
if.contains |
Purpose |
: |
If condition with AND to check contains |
Syntax |
: |
[if.contains needle=”value” haystack=”{array}”]/** ** code***/[/if.contains] |
Example 1 |
: |
Code |
: |
[if.contains haystack=”{user_data.key_skills}” needle=”{@child.item.slug}”]
selected
[/if.contains] |
Output |
: |
|
Description |
: |
if haystack contains needle then executes, Parameters supported : needle(key), haystack(comma separated string) |
|
Last Modified By Harshal Patil.