Combines a list of values to yield a single string of values, with each value optionally separated by a delimiter, and produces the result.
<join 1,2,4>
produces the text value {124}
<join 1,2,4 delim={^_^}>
produces the text value {1^_^2^_4}
<join spyName delim={, }>
produces the text value {Bond, James}
— if spyName
is a 2-element vector containning the elements {Bond},{James}
.
When the join tag is complete, it produces
The join tag always produces a string of text, containing the result of concatenating the elements of its primary field together. The tag's lifetime then ends.
If the delim field is specified, the value of that field is used as a separator between elements in the result.
If an identifier is assigned to the join tag, a scalar object with that name will be created to store the result.
<var:vector 1,10,true,{Hey!}> <! define a vector object named vec with mixed data elements !> <putLn|join var> <! sends {110trueHey!} back to the running program as program input !> <putLn|join var delim={ and }> <! sends: {1 and 10 and true and Hey!} back to the running program !>