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