haystack required default (none - required)The string searched for the needle. The match succeeds when this string contains the needle as a substring (case-sensitive). Not trimmed: leading and trailing spaces count.
needle required default (none - required)The substring to look for inside the haystack. An empty needle always matches. You can repeat needle and text as further pairs (needle2 text2 ...); the first matching needle wins.
text optional default (empty string)Printed when the needle is found. May contain b5c7fde662997a561583ff362f86f67a-bbd734ec6b26e958511dbeee6984d0c7-048a1a16331d641d402211a8fe5702ef-a2cdcc6dde926f1dcf8f35e7b9864725 (the whole haystack) and (the needle that matched). In a multi-pair call each needle has its own text.
else_text optional default (empty string)Printed when no needle matched. It is the single leftover parameter after all needle:text pairs. b5c7fde662997a561583ff362f86f67a-bbd734ec6b26e958511dbeee6984d0c7-048a1a16331d641d402211a8fe5702ef-a2cdcc6dde926f1dcf8f35e7b9864725 expands to the haystack here too ( is empty since nothing matched). Omit it to print nothing on no match.
{ifin:ActionApps CMS:CMS:yes:no}
{ifin:ActionApps CMS:Drupal:yes:no}
[{ifin:hello world:xyz:found}]
{ifin:ActionApps:apps:lower:Apps:capital A:none}
{ifin:de,ru,cz,pl,en:cz:Found code _#2:not found}
{ifin:premium-plan:premium:_#1 is active:none}
{ifin:de,ru,cz,pl,en:en:English:cz:Czech:Unknown language}
{ifin:de,ru,cz,pl,en:fr:French:es:Spanish:Unknown language}
{ifin:anything::matched:fallback}
{ifin:one two three:two :matched:no}
{ifin:{qss:lang}:cz: checked}