Definition and Usage
The strpos() function returns the position where the first occurrence occurs within a series of other strings.
If the string is not found, this function returns FALSE.
Syntax
Copy code The code is as follows:
strpos(string,find,start)
Note: The strpos() function is case-sensitive.
Copy code The code is as follows:
echo strpos("Hello world!","wo ");
?>
Result: 6
http://www.bkjia.com/PHPjc/736842.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/736842.htmlTechArticleDefinition and Usage The strpos() function returns the position that first appears within a series of other strings. If the string is not found, this function returns FALSE. Syntax Copy code The code is like...