concat.n
来自「tcl是工具命令语言」· N 代码 · 共 51 行
N
51 行
'\"'\" Copyright (c) 1993 The Regents of the University of California.'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.'\"'\" See the file "license.terms" for information on usage and redistribution'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.'\" '\" RCS: @(#) $Id: concat.n,v 1.4 2002/07/01 10:50:21 dkf Exp $'\" .so man.macros.TH concat n 8.3 Tcl "Tcl Built-In Commands".BS'\" Note: do not modify the .SH NAME line immediately below!.SH NAMEconcat \- Join lists together.SH SYNOPSIS\fBconcat\fI \fR?\fIarg arg ...\fR?.BE.SH DESCRIPTION.PPThis command joins each of its arguments together with spaces aftertrimming leading and trailing spaces from each of them. If all thearguments are lists, this has the same effect as concatenating theminto a single list.It permits any number of arguments. For example, the command.CS\fBconcat a b {c d e} {f {g h}}\fR.CEwill return.CS\fBa b c d e f {g h}\fR.CEas its result, and.CS\fBconcat " a b {c " d " e} f"\fR.CEwill return.CS\fBa b {c d e} f\fR.CEas its result..PPIf no \fIarg\fRs are supplied, the result is an empty string..SH "SEE ALSO"append(n), eval(n).SH KEYWORDSconcatenate, join, lists
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?