Source Code:
(back to article)
<?php $string = "Hello World"; $char = "o"; $result = strchr($string, $char); echo $result; ?>
Result:
Report an issue