Course of Raku / Addendum 🆕 / Working with data / Text and strings / Exercises

Title case

Problem

Convert the string the lord of the rings to title case, so that every word starts with a capital letter, and print the result.

Example

The program prints:

The Lord Of The Rings

Solution

See the solution

Course navigation

Solution: Count the vowels   |   Solution: Title case