In Cool§
See primary documentation in context for routine lc
sub lc(Str(Cool)) method lc()
Coerces the invocant (or in sub form, its argument) to Str
, and returns it case-folded to lowercase.
say "ABC".lc; # OUTPUT: «abc»
In Str§
See primary documentation in context for routine lc
multi lc(Str:D --> Str:D) multi method lc(Str:D: --> Str:D)
Returns a lowercase version of the string.
Examples:
lc("A"); # OUTPUT: «"a"» "A".lc; # OUTPUT: «"a"»
In Allomorph§
See primary documentation in context for method lc
method lc(Allomorph:D:)