I am new to smarty, tried to look up its syntax for something like in php stripos but came up empty… How to do that?
Problem:
$a is “wwwweeew”
$b is “eee”
need to check is $b is in $a…
Thanks.
EDIT: Found about implicit modifiers like:
{if $po.option_name|stripos:"camera"}
However, how do you pass other values to the function if the function takes more parameters?