Tuesday, August 18, 2009

The strpos() function in PHP


The strpos() function is used to search for character within a string.
If a match is found, this function will return the position of the first match. If no match is found, it will return FALSE.
Let's see if we can find the string "world" in our string:

No comments:

Post a Comment