Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php string contains

$string = 'The lazy fox jumped over the fence';

if (str_contains($string, 'lazy')) {
    echo "The string 'lazy' was found in the string
";
}

Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #string
ADD COMMENT
Topic
Name
7+5 =