substr_count

function call:
int substr_count( string $haystack, string $needle [, int $offset [, int $length ]] )

description:
substr_count() returns the number of times the $needle substring occurs in the $haystack string. Please note that $needle is case sensitive.

test substr_count online:
$haystack

$needle

$offset

$length


Werbung
Information
PHP-Version: 5.2.6
Last changes: my blog (german only)
Change language: substr_count auf Deutsch online testen