How to use strchr in PHP
In this article I will explain how strchr function used in PHP.
strchr() Function
This function searches for the first string into another string.
Syntax
Parameter |
Description |
string |
string to search |
search |
Specifies the string to search for. |
Example
<html>
<body>
<?php
echo strchr("Hello Neha!","Neha");
?>
</html>
</body> |
Output
You may also want to read these related articles Click here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here