concat
Concatenate arguments with spaces.
Syntax
tcl
concat ?arg ...?Parameters
- arg: One or more values to concatenate
Description
Joins all arguments together with spaces. Leading and trailing whitespace is trimmed from each argument before joining. This makes it useful for merging lists.
Examples
Basic concatenation
Output
Trimming whitespace
Output
Merging lists
Output
Empty arguments
Output
