summaryrefslogtreecommitdiffstats
path: root/doc/string.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2005-01-13 11:13:15 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2005-01-13 11:13:15 (GMT)
commit7558ac7276f0ee10f5beb26fe368eea7cbdb9e37 (patch)
tree53d6bcaa5bda61c3086640ffd1a5e1d55bead33b /doc/string.n
parent3df503b61ab4266ced72c8348c31069e48098fd9 (diff)
downloadtcl-7558ac7276f0ee10f5beb26fe368eea7cbdb9e37.zip
tcl-7558ac7276f0ee10f5beb26fe368eea7cbdb9e37.tar.gz
tcl-7558ac7276f0ee10f5beb26fe368eea7cbdb9e37.tar.bz2
Reduce confusion (reported in c.l.t) over [string trim]'s chars argument
Diffstat (limited to 'doc/string.n')
-rw-r--r--doc/string.n12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/string.n b/doc/string.n
index f0f21ad..74fae5a 100644
--- a/doc/string.n
+++ b/doc/string.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: string.n,v 1.24 2004/10/27 14:24:37 dkf Exp $
+'\" RCS: @(#) $Id: string.n,v 1.25 2005/01/13 11:13:17 dkf Exp $
'\"
.so man.macros
.TH string n 8.1 Tcl "Tcl Built-In Commands"
@@ -286,19 +286,19 @@ specified as for the \fBindex\fR method.
.TP
\fBstring trim \fIstring\fR ?\fIchars\fR?
Returns a value equal to \fIstring\fR except that any leading or
-trailing characters from the set given by \fIchars\fR are removed. If
+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).
.TP
\fBstring trimleft \fIstring\fR ?\fIchars\fR?
Returns a value equal to \fIstring\fR except that any leading
-characters from the set given by \fIchars\fR are removed. If
+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).
.TP
\fBstring trimright \fIstring\fR ?\fIchars\fR?
Returns a value equal to \fIstring\fR except that any trailing
-characters from the set given by \fIchars\fR are removed. If
+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).
.TP
@@ -334,3 +334,7 @@ expr(n), list(n)
.SH KEYWORDS
case conversion, compare, index, match, pattern, string, word, equal, ctype
+
+'\" Local Variables:
+'\" mode: nroff
+'\" End: