Answers for "how to check whether a substring is present in a string in php"

PHP
5

php string contains

$mystring = 'abc';
$findme   = 'a';
$pos = strpos($mystring, $findme);
Posted by: Guest on May-20-2020

Code answers related to "how to check whether a substring is present in a string in php"

Browse Popular Code Answers by Language