diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | doc/string.n | 12 |
2 files changed, 13 insertions, 4 deletions
@@ -1,3 +1,8 @@ +2005-01-13 Donal K. Fellows <donal.k.fellows@man.ac.uk> + + * doc/string.n: Removed the term 'set' from the documentation of + the [string trim] commands, as it caused confusion. + 2005-01-12 Donal K. Fellows <donal.k.fellows@man.ac.uk> * unix/tcl.m4 (SC_PATH_{TCL,TK}CONFIG): Added code to detect the 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: |