diff options
| -rw-r--r-- | doc/string.n | 17 |
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 |
