strpos() function returns the position of the first occurrence of string inside another string.
Syntax
strpos(string,find,start)
Example
Output
6
Syntax
strpos(string,find,start)
Example
<?php // returns the position of the first occurrence of string echo strpos("hello india","io"); ?> |
6
0 comments:
Post a Comment