Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php string contains string

$str = 'Hello World!';

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