diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2006-11-09 15:37:55 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2006-11-09 15:37:55 (GMT) |
commit | ffd8329a24b35299d0efa9610743cc016203dc84 (patch) | |
tree | d6c5a2fd27dcc828aa5438bc1aeee3fd1af501d0 /doc | |
parent | b07bb89f2a73a18a69b6666c3484f3e2271f53bf (diff) | |
download | tcl-ffd8329a24b35299d0efa9610743cc016203dc84.zip tcl-ffd8329a24b35299d0efa9610743cc016203dc84.tar.gz tcl-ffd8329a24b35299d0efa9610743cc016203dc84.tar.bz2 |
Implemented [string reverse].
Finalizes basic TIP#272 implementation.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/string.n | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/string.n b/doc/string.n index 8620b50..a54091d 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.30 2006/04/26 04:41:10 dgp Exp $ +'\" RCS: @(#) $Id: string.n,v 1.31 2006/11/09 15:37:56 dkf Exp $ '\" .so man.macros .TH string n 8.1 Tcl "Tcl Built-In Commands" @@ -277,6 +277,12 @@ and if \fIlast\fR is greater than or equal to the length of the string then it is treated as if it were \fBend\fR. If \fIfirst\fR is greater than \fIlast\fR or the length of the initial string, or \fIlast\fR is less than 0, then the initial string is returned untouched. +.VS 8.5 +.TP +\fBstring reverse \fIstring\fR +Returns a string that is the same length as \fIstring\fR but with its +characters in the reverse order. +.VE 8.5 .TP \fBstring tolower \fIstring\fR ?\fIfirst\fR? ?\fIlast\fR? Returns a value equal to \fIstring\fR except that all upper (or title) @@ -353,7 +359,8 @@ if {$length == 0} { expr(n), list(n) .SH KEYWORDS -case conversion, compare, index, match, pattern, string, word, equal, ctype +case conversion, compare, index, match, pattern, string, word, equal, +ctype, character, reverse '\" Local Variables: '\" mode: nroff |