Answers for "php check if in a string there is :"

PHP
2

php chech if string contains

$a = 'How are you?';

if (strpos($a, 'are') !== false) {
    echo 'true';
}
Posted by: Guest on April-28-2020

Code answers related to "php check if in a string there is :"

Browse Popular Code Answers by Language