We could use partial match for IF
for example, regexp style [IF="{{{var1}}}=~somethinginstring"]. does not really have to support regexp of course
how it could look in php:
Code:
$var = 'is there somethinginstring?';
$val = 'somethinginstring';

if ( $test == '=~' )
{
 $pos = strpos ( $var , $val );
 if ( $pos !== false ){ return true; }
}