PHP Tutorial: Stristr Function Example Tutorial
Definition and usage
The Stristr () function search first appeared with a series of internal other strings.
This function returns the rest of the string (from the matching point), or False if the string search is not found.
Grammar
Stristr (String,search)
String: Required to find the specified character
Search: Required. The specified string search. If this parameter is a number, it will seek to match the number of characters in the ASCII value
Hints and Instructions Note: This feature is binary safe. Note: This feature is case sensitive. For case-sensitive searches, use STRSTR ().
Example 1
Echo stristr ("Hello world!", "World");
?>
Return to. wordl!
http://www.bkjia.com/PHPjc/631368.html www.bkjia.com true http://www.bkjia.com/PHPjc/631368.html techarticle PHP Tutorial: stristr function Instance tutorial definition and usage the STRISTR () function search first appeared with a series of internal other strings. This function returns the rest of the string (from the matching point) ...