Problem 44499. Capitilize the first letter of every word in a string
Solution Stats
Problem Comments
-
1 Comment
goc3
on 13 Jul 2018
Additional test cases have been added.
Solution Comments
-
1 Comment
J.R.! Menzinger
on 15 Jun 2021
nice internal reference to the match.
a simple improvement could be to parse "s" as input and write "lower($0(2:..." in the replacement string.
Like it!
-
1 Comment
bainhome
on 29 Mar 2018
two steps in one op, nicely done!
Problem Recent Solvers114
Suggested Problems
-
Sort a list of complex numbers based on far they are from the origin.
5082 Solvers
-
Get the length of a given vector
7640 Solvers
-
340 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
351 Solvers
-
184 Solvers
More from this Author25
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!