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

caselessCountStr


>>-caselessCountStr(needle)--------------------------------------------><

Returns a count of the occurrences of [needle] in the receiving string that do not overlap. All matches are made using caseless comparisons.

Here are some examples:

String class - caselessCountStr method


"a0Aa0A"~caselessCountStr("a")        ->    4
"J0kKk0"~caselessCountStr("KK")       ->    1

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