PHP Manual
strstr
Description
string strstr ( string haystack, string needle )
Returns part of haystack string from the first
occurrence of needle to the end of
haystack.
Note: This function is case-sensitive. For case-insensitive searches, use stristr().
Note: If you only want to determine if a particular
needleoccurs withinhaystack, use the faster and less memory intensive function strpos() instead.
Parameters
haystackThe input string.
needleIf
needleis not a string, it is converted to an integer and applied as the ordinal value of a character.
Support PHPRO.ORG
Search
PHPRO.ORG Poll
Warning: Participation in PHPRO.ORG polls may incorrectly lead you to believe your opinions matter.

RSS Feed




