Can I find how many times a substring appears in a string?

Levelhead
Tue, 13 Feb 2018 10:21:40 +0000
Blueprint

I’m reading from a CSV file and want to know how many times for example “Female” appears. Right now I can do this by using “contains”, then “split”, and continue looking. However it’s very slow.

3 posts - 1 participant