PHP string strchr() FunctionThe string strchr() function is predefined function of PHP. It is the alias of strstr() function or can used to search for the first occurrence of a given string. Note: This function is case sensitive and binary-safe.Syntax:
Example 1Output: PHP Example 2Output: point! Example 3Output: Hello References: http://php.net/manual/en/function.strchr.php
Next TopicPHP String
|