Convert first letters of every word of the sentence into capital letters (UPPER CASE) and rest in small letters (lower case).
For example:
myString = {"cAn yOU PrediCt Dow JONES reaL VaLuE ? "}; % INPUT
the modified string would be,
yesYourString = 'Can You Predict Dow Jones Real Value ? '; % OUTPUT
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers21
Suggested Problems
-
3404 Solvers
-
Reverse the Words (not letters) of a String
473 Solvers
-
410 Solvers
-
Back to basics 19 - character types
275 Solvers
-
165 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!