Answers for "use exists() to determine if something is a string"

PHP
2

if word exist in string

$a = 'How are you?';

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

Code answers related to "use exists() to determine if something is a string"

Browse Popular Code Answers by Language