about | help | code help+videos | done | prefs |
Return the number of times that the string word appears anywhere in the given string. countWord("abc hi ho", "hi") → 1 countWord("ABChi hi", "hi") → 2 countWord("hihi", "hi") → 2 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 200
Copyright Nick Parlante 2017 - privacy