Problem 43325. Count given word x in text.
Count how many times given word x repeats in text.
Solution Stats
Problem Comments
-
1 Comment
David Verrelli
on 5 Jul 2018
The phrasing of the Problem Statement is not correct. The string "When you finish ..., you will be told .... You can then .... You can also ...." contains FOUR instances of the WORD "you". "You", "YOU" and "you" are all examples of the _word_ "you". The Problem Statement should say that the player must find occurrences of the provided text-pattern of the same case within the given text.
Solution Comments
Show commentsProblem Recent Solvers60
Suggested Problems
-
Project Euler: Problem 10, Sum of Primes
1691 Solvers
-
Back to basics 19 - character types
261 Solvers
-
168 Solvers
-
Replace x value into y value in string text.
67 Solvers
-
determine the sum of the squares
108 Solvers
More from this Author37
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!