# if 'hello' not contained in $string if ( index($string, 'hello' ) == -1) { # do something }
-- Hofmator
In reply to Re: string does not contain
by Hofmator
in thread string does not contain
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |