Searching for a substring in a string in PHP

It is possible to search if a substring exists in a string using PHP's strpos method. This method will return either numerical position where a substring starts with a search string. Starting number is 0. Or it will return false, if a string is not found.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator