strpos() in php

The strpos() function has the following prototype: int strpos(string haystack, string needle[, int offset=0]); The integer returned represents the position of the first occurrence of the needle within the haystack. The first character is in position 0 as usual Example of strpos() in php Output 7 More strpos() function example