in reply to Re: Re: Correct Syntax
in thread Need help getting correct syntax for "if" statement

$flag = 0+(index( $f1,'1') != -1)