Extracted from Pike v7.3 release 18 at 2002-03-27.
pike.roxen.com
[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, `/