substr_count

Definition

int substr_count ( string $haystack , string $needle [, int $offset = 0 [, 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.

[More at php.net]

Parameters





loading


Share/bookmark - substr_count


Global comments