substr_count
Funktionsaufruf:
int substr_count( string $haystack, string $needle [, int $offset [, int $length ]] )
Beschreibung:
Die Funktion substr_count() ermittelt, wie oft $needle in dem String $haystack vorkommt, und gibt die Anzahl der Vorkommen zurück. Beachten Sie, dass der Parameter $needle case sensitive ist.
substr_count online testen:
int substr_count( string $haystack, string $needle [, int $offset [, int $length ]] )
Beschreibung:
Die Funktion substr_count() ermittelt, wie oft $needle in dem String $haystack vorkommt, und gibt die Anzahl der Vorkommen zurück. Beachten Sie, dass der Parameter $needle case sensitive ist.
substr_count online testen: