[+tvname:contains=`1`:then=`Pizza`:else=``+] [+tvname:contains=`2`:then=`Tomato`:else=``+] [+tvname:contains=`3`:then=`Chocolate`:else=``+]
<?php /* USAGE: [[*TV:contains=`option`:then=``:else=``]] */ if (strpos($input,$options) !== false) { return true; } else { return false; }