routine tc
1 | class Str |
1.1 | (Str) routine tc |
2 | class Cool |
2.1 | (Cool) routine tc |
Documentation for routine tc
assembled from the following types:
class Str
From Str
(Str) routine tc
multi sub tc(Str --> Str)multi method tc(Str: --> Str)
Does a Unicode "titlecase" operation, that is changes the first character in the string to title case, or to upper case if the character has no title case mapping
class Cool
From Cool
(Cool) routine tc
Defined as:
sub tc(Str(Cool))method tc()
Coerces the invocant (or in sub form, its argument) to Str, and returns it with the first letter case-folded to title case (or where not available, upper case).
say "abC".tc; # OUTPUT: «AbC»