Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
String

Method String.count()


Method count

int String.count(string haystack, string needle)

Description

Count the number of non-overlapping times the string needle occurrs in the string haystack .

See also

search() , `/()