Skip to content

String.Join

Name - 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 delimited by the separator. String
Separator The string to use as a separator. "" String

Concatenates all the elements of a string sequence, using the specified separator between each element.

Examples

1
2
3
4
5
6
7
8
9
["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] [shards/String/Join/1.edn] The quick brown fox jumps over the lazy dog.
[info] [shards/String/Join/1.edn] 2001/01/01