The strpos() function used for position of the first occurrence of a substring in a string.
Syntax
strpos(string,find,start_position)
Example
echo strpos('Hello dear, how are you','how');
Output
12
Copyright ©2022 coderraj.com. All Rights Reserved.