Function: countOccurrences()
countOccurrences(
haystack,needle):number
Defined in: filesystem-boundary.ts:284
Count non-overlapping occurrences without allocating a split array.
Parameters
haystack
string
needle
string
Returns
number
countOccurrences(
haystack,needle):number
Defined in: filesystem-boundary.ts:284
Count non-overlapping occurrences without allocating a split array.
string
string
number