Furloughs are hitting government workers this year. To commemorate getting one unpaid day off each week until the end of September, this Cody problem requires a string for an input. The output will be the same string, but with every fifth letter in the string replaced with 'X'. Numbers, spaces, and punctuation marks are unaffected, which is more than we can say for the government workers.
For example, 'abcde?fgh123ij' would be replaced with 'abcdX?fgh123iX' Good luck!
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers62
Suggested Problems
-
Least common multiple of many numbers
255 Solvers
-
Project Euler: Problem 9, Pythagorean numbers
1385 Solvers
-
Saving MATLAB session to a file
201 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
399 Solvers
-
2247 Solvers
More from this Author80
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
I'll solve this one on my first furlough day.
Is there a new problem with the testcases or with Cody?
I have a solution that works in R2018b on my computer, but in Cody the input argument is not being reset after the first testcase...
The problem with the first test case has been fixed.