summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-08-05 11:20:10 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-08-05 11:20:10 (GMT)
commit16105b98334db5910809fd5ead357bafe92bc6fe (patch)
tree4806f681f4a1429b0bbadab0ad780286ce830a94 /doc
parentf107311e0a841c8971f748594a6e0bd179a2e436 (diff)
parent1b1500534daaf0033c71d6c0e917298251e99a31 (diff)
downloadtcl-16105b98334db5910809fd5ead357bafe92bc6fe.zip
tcl-16105b98334db5910809fd5ead357bafe92bc6fe.tar.gz
tcl-16105b98334db5910809fd5ead357bafe92bc6fe.tar.bz2
Merge 8.6
Diffstat (limited to 'doc')
-rw-r--r--doc/string.n7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/string.n b/doc/string.n
index f3d7616..88ce232 100644
--- a/doc/string.n
+++ b/doc/string.n
@@ -319,9 +319,10 @@ specified as for the \fBindex\fR method. If \fInewstring\fR is
specified, then it is placed in the removed character range. If
\fIfirst\fR is less than zero then it is treated as if it were zero,
and if \fIlast\fR is greater than or equal to the length of the string
-then it is treated as if it were \fBend\fR. If \fIfirst\fR is greater
-than \fIlast\fR or the length of the initial string, or \fIlast\fR is
-less than 0, then the initial string is returned untouched.
+then it is treated as if it were \fBend\fR. The initial string is
+returned untouched, if \fIfirst\fR is greater than \fIlast\fR, or if
+\fIfirst\fR is equal or greater the length of the initial string, or
+\fIlast\fR is less than 0.
.TP
\fBstring reverse \fIstring\fR
.