Extracted from Pike v7.4 release 35 at 2003-12-09.
pike.ida.liu.se
[Top]
predef::
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() , `/()