Skip to content

Commit baeaef1

Browse files
author
jan.nijtmans
committed
Merge 8.7
2 parents fcbcd14 + 5a40ba8 commit baeaef1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/string.n

+4-3
Original file line numberDiff line numberDiff line change
@@ -319,9 +319,10 @@ specified as for the \fBindex\fR method. If \fInewstring\fR is
319319
specified, then it is placed in the removed character range. If
320320
\fIfirst\fR is less than zero then it is treated as if it were zero,
321321
and if \fIlast\fR is greater than or equal to the length of the string
322-
then it is treated as if it were \fBend\fR. If \fIfirst\fR is greater
323-
than \fIlast\fR or the length of the initial string, or \fIlast\fR is
324-
less than 0, then the initial string is returned untouched.
322+
then it is treated as if it were \fBend\fR. The initial string is
323+
returned untouched, if \fIfirst\fR is greater than \fIlast\fR, or if
324+
\fIfirst\fR is equal or greater the length of the initial string, or
325+
\fIlast\fR is less than 0.
325326
.TP
326327
\fBstring reverse \fIstring\fR
327328
.

0 commit comments

Comments
 (0)