Let’s check wow to find count a char in string using Python.
Assume you have a string my_string.
Count a char in string
To check occurences of ‘s’ letter I just created a simple counter and printed that our.
my_string = "testingtext123" counter = my_string.count('s') print(counter)

This is how to find count a char in string the easiest way.