routine uc
1 | class Str |
1.1 | (Str) routine uc |
2 | class Cool |
2.1 | (Cool) routine uc |
Documentation for routine uc
assembled from the following types:
class Str
From Str
(Str) routine uc
multi sub uc(Str --> Str)multi method uc(Str: --> Str)
Returns an uppercase version of the string.
class Cool
From Cool
(Cool) routine uc
Defined as:
sub uc(Str(Cool))method uc()
Coerces the invocant (or in sub form, its argument) to Str, and returns it case-folded to upper case (capital letters).
say "Abc".uc; # OUTPUT: «ABC»