Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php string contains string

$str = 'Hello World!';

if (strpos($str, 'World') !== false) {
    echo 'true';
}
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #string #string
ADD COMMENT
Topic
Name
5+8 =