diff options
author | ferrieux <ferrieux@users.sourceforge.net> | 2014-09-05 20:42:40 (GMT) |
---|---|---|
committer | ferrieux <ferrieux@users.sourceforge.net> | 2014-09-05 20:42:40 (GMT) |
commit | 6ee510faf8cc3381dd9e71d0be08d94c100aa4f2 (patch) | |
tree | 3e756802b1860f296bf029937e49ba6143a35284 /doc/string.n | |
parent | 5bdeb04fec5e97b4f05ecf19e07fadd17e540b5d (diff) | |
parent | 8d5c986031606a4565659bb82dcbba7ab9ce0186 (diff) | |
download | tcl-6ee510faf8cc3381dd9e71d0be08d94c100aa4f2.zip tcl-6ee510faf8cc3381dd9e71d0be08d94c100aa4f2.tar.gz tcl-6ee510faf8cc3381dd9e71d0be08d94c100aa4f2.tar.bz2 |
merge trunk
Diffstat (limited to 'doc/string.n')
-rw-r--r-- | doc/string.n | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/string.n b/doc/string.n index 72a69ff..33780ff 100644 --- a/doc/string.n +++ b/doc/string.n @@ -19,6 +19,21 @@ string \- Manipulate strings Performs one of several string operations, depending on \fIoption\fR. The legal \fIoption\fRs (which may be abbreviated) are: .TP +\fBstring cat\fR ?\fIstring1\fR? ?\fIstring2...\fR? +.VS 8.6.2 +Concatenate the given \fIstring\fRs just like placing them directly +next to each other and return the resulting compound string. If no +\fIstring\fRs are present, the result is an empty string. +.RS +.PP +This primitive is occasionally handier than juxtaposition of strings +when mixed quoting is wanted, or when the aim is to return the result +of a concatenation without resorting to \fBreturn\fR \fB\-level 0\fR, +and is more efficient than building a list of arguments and using +\fBjoin\fR with an empty join string. +.RE +.VE +.TP \fBstring compare\fR ?\fB\-nocase\fR? ?\fB\-length\fI length\fR? \fIstring1 string2\fR . Perform a character-by-character comparison of strings \fIstring1\fR |