strCount 

Returns the number of times the second String argument is contained in the first String argument.
Parameters
| Name | Type | Required | Default |
|---|---|---|---|
str | string | ● | – |
search | string | ● | – |
Returns
number
Examples
javascript
strCount('abcabc', 'a'); // Returns 2dart
strCount('abcabc', 'a'); // Returns 2python
strCount('abcabc', 'a') # Returns 2