INPUT /  OUTPUT /  LANGUAGE






join tag

Combines a list of values to yield a single string of values, with each value optionally separated by a delimiter.

Sample usage

Fields

Primary field

Secondary fields

Behaviour

The join tag always yields a string of text, containing the result of concatenating the elements of its default field togehter. If the delim field is specified, the value of that field is used as a separator between elements in the result.

The join tag does not create an object in the document tree.

If an identifier is assigned to the join tag, a scalar object with that name will be created to store the result.

Example

<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 !>