Problem 44697. count upper and lower case characters
In a given input string, count and return the number of upper and lower case characters as u and l respectively.
For example:
in 'This is a Test Case'
ans= [u,l]= [3,12]
Solution Stats
Problem Comments
-
1 Comment
goc3
on 17 Jul 2018
Additional test cases have been added.
Solution Comments
Show commentsProblem Recent Solvers50
Suggested Problems
-
Swap the first and last columns
19360 Solvers
-
Cell Counting: How Many Draws?
1698 Solvers
-
Magic is simple (for beginners)
8264 Solvers
-
360 Solvers
-
Matlab Basics - Set unwanted parts of a vector to zero
240 Solvers
More from this Author29
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!