Counting the occurrence of a certain character in string
I was wondering if there is a way to count the occurrence of a certain character in a string.
Specifically, I have a column that contains the gender information (M or F) of each data entry.
All of the data entries are grouped according to a unique key, and while grouping, the gender column is collapsed with a comma between each entry belonging to that group.
Now I need to count the number of M's and F's for each group.
Could you please advise if this can be done.
Thank you in advance.
- 7.3K All Categories
- 13 Getting Started in the Community
- 134 Beastmode & Analytics
- 1.8K Data Platform & Data Science
- 52 Domo Everywhere
- 2K Charting
- 994 Ideas Exchange
- 894 Connectors
- 236 Workbench
- 342 APIs
- 76 Apps
- 18 Governance & Productivity
- 233 Use Cases & Best Practices
- 49 News
- 473 Onboarding
- 570 日本支部