summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2014-08-03 22:43:42 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2014-08-03 22:43:42 (GMT)
commit483ef76a4114d3d190ea82c0cdbf88fdb1b9ee9e (patch)
treee8b8bb54dd396de8efe11f667942d5b04d4e0d5e /doc
parent50e84817bf26eed388c0fb3df70cfb4d00e9eab5 (diff)
downloadtcl-483ef76a4114d3d190ea82c0cdbf88fdb1b9ee9e.zip
tcl-483ef76a4114d3d190ea82c0cdbf88fdb1b9ee9e.tar.gz
tcl-483ef76a4114d3d190ea82c0cdbf88fdb1b9ee9e.tar.bz2
Tidy up the docs
Diffstat (limited to 'doc')
-rw-r--r--doc/string.n19
1 files changed, 12 insertions, 7 deletions
diff --git a/doc/string.n b/doc/string.n
index 450a97b..33780ff 100644
--- a/doc/string.n
+++ b/doc/string.n
@@ -19,14 +19,19 @@ string \- Manipulate strings
Performs one of several string operations, depending on \fIoption\fR.
The legal \fIoption\fRs (which may be abbreviated) are:
.TP
-.VS 8.6.2
\fBstring cat\fR ?\fIstring1\fR? ?\fIstring2...\fR?
-.
-Concatenate the given strings just like direct juxtaposition
-would. This primitive is occasionally handier than juxtaposition when
-mixed quoting is wanted, or when the aim is to return the result of a
-concatenation without resorting to \fB[return -level 0]\fR. If no arg
-is present, an empty string is returned.
+.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