Quantcast
Channel: Active questions tagged string-manipulation - Mathematica Stack Exchange
Viewing all articles
Browse latest Browse all 186

Capitalizing words stored as strings in a list

$
0
0

I have a string list including some words. For example, I have

words={cut, was, saw, clear, sharp, keen, tree, these};

I want to write a code that changes the first letter of each word to the capital letter. I mean I want to have the result as

{Cut, Was, Saw, Clear, Sharp, Keen, Tree, These};

How can I figure it out?


Viewing all articles
Browse latest Browse all 186

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>