Skip to content

Commit a91b786

Browse files
committed
no more ucfirst but titlecase
1 parent 53a56f1 commit a91b786

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

docs/appendix-a-index.txt

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4115,6 +4115,12 @@ correct spelling (:2nd)
41154115
specifies the [precedence of an operator](appendix-b-grouped.html#table-of-precedence)
41164116
higher than an existing operator
41174117

4118+
<a id="titlecase"/>
4119+
**titlecase**([Str](#Str-type) [--\>](#double-minus-greater-signature) [Str](#Str-type))
4120+
*«string method»* &mdash;
4121+
performs a [Unicode](appendix-g-glossary.html#unicode) titlecase operation
4122+
on the first character of each word of the string
4123+
41184124
<a id="to-adverb"/>
41194125
**[:to](tablet-2-basic-syntax.html#heredocs)**
41204126
*[«quoting adverb»](appendix-b-grouped.html#quoting-adverbs)* &mdash;
@@ -4230,11 +4236,11 @@ report if file has setuid bit set
42304236
*[«escape sequence»](appendix-b-grouped.html#escape-sequences)* &mdash;
42314237
everything within the brackets is uppercase
42324238

4233-
<a id="uc"/>
4234-
**uc** &mdash; make all string chars uppercase
4235-
4236-
<a id="ucfirst"/>
4237-
**ucfirst** &mdash; make first char of a string uppercase
4239+
<a id="uc"/><a id="uc-op"/>
4240+
**uc**([Str](#Str-type) [--\>](#double-minus-greater-signature) [Str](#Str-type))
4241+
*«string method»* &mdash;
4242+
return a copy of a string where all characters are uppercase,
4243+
usable as operator and as method
42384244

42394245
<a id="UID-global-var"/>
42404246
**\$\*UID** *[«special var»](appendix-b-grouped.html#global-variables)* &mdash;
@@ -4303,7 +4309,7 @@ see also **[need](#need)** and **[import](#import)**)
43034309
<a id="backslash-V"/>
43044310
**\\V**
43054311
*[«escape sequence»](appendix-b-grouped.html#escape-sequences)* &mdash;
4306-
anything but vertical whitespace
4312+
anything but vertical whitespace ([**\\v**](#backslash-v))
43074313

43084314
<a id="backslash-v"/>
43094315
**\\v**
@@ -4333,7 +4339,7 @@ example: `(1 => 2, 3 => 4).values;` returns `2,4`
43334339
<a id="VM-global-var"/>
43344340
**\$\*VM**
43354341
*[«special var»](appendix-b-grouped.html#global-variables)* &mdash;
4336-
running virtual machine, might want to use `*$*VM.name` &mdash;
4342+
running virtual machine, might want to use `$*VM.name` &mdash;
43374343
see also: **[\$\*DISTRO](#DISTRO-global-var)** and
43384344
**[\$\*KERNEL](#KERNEL-global-var)**
43394345

0 commit comments

Comments
 (0)