Accumulator Method Challenge 1 (optional)
![051 - Accumulator Method Challenge 1 (optional)](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbKk4XE%2FbtqALvjOaTU%2FkoMyVzDisvkPTjob8kKJZK%2Fimg.png)
051 - Accumulator Method Challenge 1 (optional)
Write a method header on line two with the following specs: Returns: an integer Name: countString Parameters: a String called str a String called toFind Purpose: Count the number of occurrences of toFind within str. See below examples. Examples: countString("crazy crayfish crushing craniums", "cra") ==> 3 countString("sometimes solutions dont come on time", "me") ==> 4 Solution 1 2 3 4 5 6 7 8 9..