diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2004-10-27 09:36:58 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2004-10-27 09:36:58 (GMT) |
commit | 4b40792743ceeeaa98da3651c95e7975825aa681 (patch) | |
tree | 2f66883fc243d05145536a48036f61275d482016 /doc/string.n | |
parent | 97c3859e0409242d549f3cfd1628cb8b42ac3a84 (diff) | |
download | tcl-4b40792743ceeeaa98da3651c95e7975825aa681.zip tcl-4b40792743ceeeaa98da3651c95e7975825aa681.tar.gz tcl-4b40792743ceeeaa98da3651c95e7975825aa681.tar.bz2 |
Many minor doc fixes
Diffstat (limited to 'doc/string.n')
-rw-r--r-- | doc/string.n | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/string.n b/doc/string.n index 0bfe19b..02e5ed2 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.22 2004/10/25 22:11:11 dkf Exp $ +'\" RCS: @(#) $Id: string.n,v 1.23 2004/10/27 09:36:58 dkf Exp $ '\" .so man.macros .TH string n 8.1 Tcl "Tcl Built-In Commands" @@ -321,11 +321,11 @@ single character other than these. Test if the string in the variable \fIstring\fR is a proper non-empty prefix of the string \fBfoobar\fR. .CS -set length [string length $string] +set length [\fBstring\fR length $string] if {$length == 0} { set isPrefix 0 } else { - set isPrefix [string equal -length $string $string "foobar"] + set isPrefix [\fBstring\fR equal -length $string $string "foobar"] } .CE |