count upper and lower case characters - MATLAB Cody - MATLAB Central

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

62.92% Correct | 37.08% Incorrect
Last Solution submitted on May 14, 2025

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8

Problem Recent Solvers53

Suggested Problems

More from this Author29

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!