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
needle
occurs withinhaystack
, use the faster and less memory intensive function strpos() instead.
haystack
The input string.
needle
If needle
is not a string, it is converted to
an integer and applied as the ordinal value of a character.