See Original text in context
method fc(Allomorph:)
Calls Str.fc
on the invocant's Str
value.
See Original text in context
sub fc(Str(Cool))method fc()
Coerces the invocant (or in sub form, its argument) to Str, and returns the result a Unicode "case fold" operation suitable for doing caseless string comparisons. (In general, the returned string is unlikely to be useful for any purpose other than comparison.)
say "groß".fc; # OUTPUT: «gross»
See Original text in context
multi sub fc(Str --> Str)multi method fc(Str: --> Str)
Does a Unicode "fold case" operation suitable for doing caseless string comparisons. (In general, the returned string is unlikely to be useful for any purpose other than comparison.)