string cat
Joins strings with no separator.
string cat ?STRING ...?
Description
Gives the strings one after the other, with no separator. With no argument it gives an empty string. Each argument is text: a list keeps its braces and spaces as they are, as {a b} and {c d} give a bc d.
Arguments
| Argument | Type | Default | Description |
|---|---|---|---|
| STRING | string | none | A string to join. |
Returns
The joined string.
Examples
% string cat a b c
abc
% string cat {a b} {c d}
a bc d
% string cat
Errors
Each count of arguments is valid, also none, and each argument is valid text.
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztcl 1.0.0-beta.1