diff options
author | dgp <dgp@users.sourceforge.net> | 2014-08-25 21:43:21 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-08-25 21:43:21 (GMT) |
commit | 71968e0f29b83374e539b31314b21a43b7ab61b6 (patch) | |
tree | aa48a8922ceeb5182dd0a21e669fd18fa93bb9ca /doc/string.n | |
parent | 963fffad6be76adc9f12bbe25fa6cb828e93aac0 (diff) | |
parent | 1ca69943d5e3146511079b413ad981d77c387bd0 (diff) | |
download | tcl-core_8_6_2.zip tcl-core_8_6_2.tar.gz tcl-core_8_6_2.tar.bz2 |
merge trunk; update changesrc3core_8_6_2core_8_6_2_rc
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 |