Skip to content

String.Join

Name Mandatory Description Default Type
⬅️ Input A sequence of string values that will be joined together. [String Bytes]
Output ➡️ A string consisting of all the elements of the sequence separated by the specified separator. String
Separator No The string to use as a separator. `` String

This shard concatenates all the elements of a string sequence, using the specified separator between each element.

Examples

1
2
3
4
5
6
7
["The quick brown fox "
 "jumps over the lazy dog"
 "."] | String.Join | Log
Assert.Is("The quick brown fox jumps over the lazy dog." Break: true)

["2001" "01" "01"] | String.Join("/") | Log
Assert.Is("2001/01/01" Break: true)

[info] [sample-wire] The quick brown fox jumps over the lazy dog.
[info] [sample-wire] 2001/01/01