diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-09-26 12:32:56 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-09-26 12:32:56 (GMT) |
commit | c88725ffebf6be846bce8f33ddee5a39eea664a3 (patch) | |
tree | 6e1740b9ce4d8950a200d845c166866591f779cd /doc | |
parent | c0c57878754090d7e406bf6944d8f210c851396f (diff) | |
parent | 772953aa7f24fe39a87d949c789344bed284d75c (diff) | |
download | tcl-c88725ffebf6be846bce8f33ddee5a39eea664a3.zip tcl-c88725ffebf6be846bce8f33ddee5a39eea664a3.tar.gz tcl-c88725ffebf6be846bce8f33ddee5a39eea664a3.tar.bz2 |
update documentation
Diffstat (limited to 'doc')
-rw-r--r-- | doc/string.n | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/doc/string.n b/doc/string.n index 1cbea16..905f00a 100644 --- a/doc/string.n +++ b/doc/string.n @@ -149,7 +149,9 @@ Any Unicode printing character, including space. .IP \fBpunct\fR 12 Any Unicode punctuation character. .IP \fBspace\fR 12 -Any Unicode space character. +Any Unicode whitespace character, break permitted here (U+0082), +no break here (U+0083), zero with space (U+200b), word joiner +(U+2060) and zero width no-break space (U+feff) (=BOM). .IP \fBtrue\fR 12 Any of the forms allowed to \fBTcl_GetBoolean\fR where the value is true. @@ -335,22 +337,22 @@ specified using the forms described in \fBSTRING INDICES\fR. . Returns a value equal to \fIstring\fR except that any leading or trailing characters present in the string given by \fIchars\fR are removed. If -\fIchars\fR is not specified then white space is removed (spaces, -tabs, newlines, and carriage returns). +\fIchars\fR is not specified then white space is removed (any character +for which \fBstring is space\fR returns 1, and "\0"). .TP \fBstring trimleft \fIstring\fR ?\fIchars\fR? . Returns a value equal to \fIstring\fR except that any leading characters present in the string given by \fIchars\fR are removed. If -\fIchars\fR is not specified then white space is removed (spaces, -tabs, newlines, and carriage returns). +\fIchars\fR is not specified then white space is removed (any character +for which \fBstring is space\fR returns 1, and "\0"). .TP \fBstring trimright \fIstring\fR ?\fIchars\fR? . Returns a value equal to \fIstring\fR except that any trailing characters present in the string given by \fIchars\fR are removed. If -\fIchars\fR is not specified then white space is removed (spaces, -tabs, newlines, and carriage returns). +\fIchars\fR is not specified then white space is removed (any character +for which \fBstring is space\fR returns 1, and "\0"). .TP \fBstring wordend \fIstring charIndex\fR . |