Problem 1579. How many digits are there?
Input(s) - any string
Output(n) - number of digits within string s
Solution Stats
Problem Comments
-
1 Comment
goc3
on 31 May 2017
Additional test cases have been added.
Solution Comments
Show commentsProblem Recent Solvers248
Suggested Problems
-
Longest run of consecutive numbers
5804 Solvers
-
Set the array elements whose value is 13 to 0
1376 Solvers
-
Generate N equally spaced intervals between -L and L
879 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
11942 Solvers
-
5238 Solvers
More from this Author9
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!