- [Instructor] I've shown you previously
how to take a string and turn it into all lowercase letters
by calling the lower method,
and similarly there's an upper method
to turn a string into all uppercase letters.
But there's a couple of additional methods
that can come in handy as well.
If you simply need to capitalize
the first letter of a string
you can call its capitalized method.
In this case you can see just the H gets capitalized.
And separately if you need to turn a string
into what's known as title case,
where each of the words is capitalized,
you can call the title method for that purpose.
So in this case each of these four words
will get capitalized and there we have the title
of the corresponding chapter in our books,
"Strings: A Deeper Look"