Product SiteDocumentation Site

7.4.20. COUNTSTR


>>-COUNTSTR(needle,haystack)-----------------------------------><

Returns a count of the occurrences of needle in haystack that do not overlap.
Here are some examples:

Example 7.27. Builtin function COUNTSTR

COUNTSTR("1","101101")        ->    4
COUNTSTR("KK","J0KKK0")       ->    1