Why we use strpos() in PHP ?

strpos() using to find the first occurrence of a string in another string. It return the position of the sub-string in a string.If the searched string will not exists in the searching string it return false.

$mystring = “PHP Developer”;
$find = “Developer”;
echo $result = strpos($mystring,$find);

OUTPUT: 4