Answers for "check specific keyword is exists in a string in php"

PHP
0

check exist string in string php

$myString = 'Hello Learn Tech Tips (Zidane)?';
if (strpos($myString, 'Zidane') !== false) {
    echo "This string contains Zidane";
}
Posted by: Guest on November-04-2021

Code answers related to "check specific keyword is exists in a string in php"

Browse Popular Code Answers by Language