summaryrefslogtreecommitdiffstats
path: root/doc/StringObj.3
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-09-22 12:32:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-09-22 12:32:17 (GMT)
commite0716f3a835d64a5e2b7cc722db53e7c20e2169c (patch)
tree6e95a6ad347a4c9e0c28962d8bc1f7ae07125355 /doc/StringObj.3
parentac4769c769196e5d84ab0a23286bec5e216f67cd (diff)
parentcccb9994ce059b965d7537c824ddd63a839f8c21 (diff)
downloadtcl-e0716f3a835d64a5e2b7cc722db53e7c20e2169c.zip
tcl-e0716f3a835d64a5e2b7cc722db53e7c20e2169c.tar.gz
tcl-e0716f3a835d64a5e2b7cc722db53e7c20e2169c.tar.bz2
Merge 8.6
Diffstat (limited to 'doc/StringObj.3')
-rw-r--r--doc/StringObj.34
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/StringObj.3 b/doc/StringObj.3
index 1b04dd4..6118a2d 100644
--- a/doc/StringObj.3
+++ b/doc/StringObj.3
@@ -213,7 +213,9 @@ it references a low surrogate preceded by a high surrogate, it returns -1;
characters between \fIfirst\fR and \fIlast\fR (inclusive) in the
value's Unicode representation. If the value's Unicode
representation is invalid, the Unicode representation is regenerated
-from the value's string representation.
+from the value's string representation. If \fIfirst\fR < 0, then
+the returned string starts at the beginning of the value. If \fIlast\fR < 0,
+then the returned string ends at the end of the value.
.PP
\fBTcl_GetCharLength\fR returns the number of characters (as opposed
to bytes) in the string value.