Visualizzare l'elenco a discesa

strstr()

« strspn | strtok »
<?php
$string 
strstr (
    
// string $haystack
    
// mixed $needle
    
?  // [bool $before_needle = false]
);
?>
risultato
$string = '@example.com'
Esempi
#1 strstr  ("name@example.com",
 
"@")
#2 strstr  ("name@example.com",
 
"@",
 
true)
Vedi anche
grapheme_strstr, mb_strstr, preg_match, stristr, strpbrk, strpos, strrchr