summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2025-07-13 08:02:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2025-07-13 08:02:35 (GMT)
commitc3ceb84d6804e66ea25d8f4941e02bb800e20f8c (patch)
treed422c77474705ebb13949f9ea83886e0b26e11c8
parent1a3d7da175167f3ec107b332ff157e32212607af (diff)
parent23015fefad8a87f1ba1ad1e762d7208ec5e896f0 (diff)
downloadtcl-c3ceb84d6804e66ea25d8f4941e02bb800e20f8c.zip
tcl-c3ceb84d6804e66ea25d8f4941e02bb800e20f8c.tar.gz
tcl-c3ceb84d6804e66ea25d8f4941e02bb800e20f8c.tar.bz2
Doc update. See [8cd74c5cd2]
-rw-r--r--doc/string.n17
1 files changed, 10 insertions, 7 deletions
diff --git a/doc/string.n b/doc/string.n
index a78a842..1ae90ea 100644
--- a/doc/string.n
+++ b/doc/string.n
@@ -348,8 +348,9 @@ characters in the reverse order.
Returns a value equal to \fIstring\fR except that all upper (or title)
case letters have been converted to lower case. If \fIfirst\fR is
specified, it refers to the first char index in the string to start
-modifying. If \fIlast\fR is specified, it refers to the char index in
-the string to stop at (inclusive). \fIfirst\fR and \fIlast\fR may be
+modifying. If \fIlast\fR is not specified, only the character at position
+\fIfirst\fR is converted, otherwise \fIlast\fR refers to the char index
+in the string to stop at (inclusive). \fIfirst\fR and \fIlast\fR may be
specified using the forms described in \fBSTRING INDICES\fR.
.\" METHOD: totitle
.TP
@@ -360,9 +361,10 @@ in \fIstring\fR is converted to its Unicode title case variant (or
upper case if there is no title case variant) and the rest of the
string is converted to lower case. If \fIfirst\fR is specified, it
refers to the first char index in the string to start modifying. If
-\fIlast\fR is specified, it refers to the char index in the string to
-stop at (inclusive). \fIfirst\fR and \fIlast\fR may be specified
-using the forms described in \fBSTRING INDICES\fR.
+\fIlast\fR is not specified, only the character at position \fIfirst\fR
+is converted, otherwise \fIlast\fR refers to the char index in
+the string to stop at (inclusive). \fIfirst\fR and \fIlast\fR may be
+specified using the forms described in \fBSTRING INDICES\fR.
.\" METHOD: toupper
.TP
\fBstring toupper \fIstring\fR ?\fIfirst\fR? ?\fIlast\fR?
@@ -370,8 +372,9 @@ using the forms described in \fBSTRING INDICES\fR.
Returns a value equal to \fIstring\fR except that all lower (or title)
case letters have been converted to upper case. If \fIfirst\fR is
specified, it refers to the first char index in the string to start
-modifying. If \fIlast\fR is specified, it refers to the char index in
-the string to stop at (inclusive). \fIfirst\fR and \fIlast\fR may be
+modifying. If \fIlast\fR is not specified, only the character at position
+\fIfirst\fR is converted, otherwise \fIlast\fR refers to the char index
+in the string to stop at (inclusive). \fIfirst\fR and \fIlast\fR may be
specified using the forms described in \fBSTRING INDICES\fR.
.\" METHOD: trim
.TP