Answers for "'' in string php"

PHP
2

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\n";
}
Posted by: Guest on July-23-2021
0

php find string in string

$pos = strpos("find the position of X in here", "X");
Posted by: Guest on March-16-2021

Browse Popular Code Answers by Language