Read Me - Common Public License V1.0 - Copyright Notice(©)

countStr


>>-countStr(needle)--------------------------------------------><

Returns a count of the occurrences of [needle] in the receiving string that do not overlap.

Here are some examples:

String class - countStr method


"101101"~countStr("1")        ->    4
"J0KKK0"~CountStr("KK")       ->    1

Read Me - Common Public License V1.0 - Copyright Notice(©)