PHP strchr() May 22, 2012 Pramod T P Its an alias of strstr() and find the first occurrence of a string Example <?php echo strchr(‘info@phpcodez.com’, ‘@’, true); ?> Output info