Display the drop-down list

strrchr()

« strpos | strrev »
<?php
$string 
strrchr (
    
// string $haystack
    
  // mixed $needle
);
?>
Result
$string = '@example.com'
Examples
#1 strrchr  ("name@example.com",
 
"@")
See also
mb_strrchr, strrpos, strstr