We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89f2ac4 commit c38b844Copy full SHA for c38b844
lib/Language/traps.pod
@@ -210,16 +210,15 @@ In Perl 5 one could capitalize a string by using the C<ucfirst> function
210
say ucfirst "alice"; #=> Alice
211
212
The C<ucfirst> function does not exist in Perl 6; one needs to use the
213
-C<tclc> method:
+C<tc> method:
214
215
- say "alice".tclc; #=> Alice
+ say "alice".tc; #=> Alice
216
217
which is equivalent to
218
219
- say tclc "alice"; #=> Alice
+ say tc "alice"; #=> Alice
220
221
-Here, C<tclc> means "title case for the first character, lower case for the
222
-remaining characters".
+Here, C<tc> means "title case".
223
224
=end pod
225
0 commit comments