Problem 44358. I Plead the Fifth
Write a function to provide a yes or no answer to the input string. However, it must plead the 5th amendment (return an empty string) if the number five or any variation thereof (e.g., fifth, fifty, fifteen, 5) is within the input string.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers410
Suggested Problems
-
1119 Solvers
-
Test if a Number is a Palindrome without using any String Operations
229 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
10697 Solvers
-
Rounding off numbers to n decimals
4319 Solvers
-
1521 Solvers
More from this Author139
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!