In Raku, case modification is implemented as builtin subroutine or method:
my $word = "alpha BETA" ;sayuc $word; # all uppercase (subroutine call)say $word.uc; # all uppercase (method call)# from now on we use only method calls as examplessay $word.lc; # all lowercasesay $word.tc; # first letter titlecasesay $word.tclc; # first letter titlecase, rest lowercasesay $word.wordcase; # capitalize each word