Course of Raku / Advanced / More about built-in types / Strings / Exercises

Reverse and shout

Problem

Take the string 'raku', reverse its characters, and print the result in upper case. Solve it in a single expression by chaining two string methods.

Example

The program prints:

UKAR

Solution

See the solution

Course navigation

Splitting and joining   |   Solution: Reverse and shout