github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/docs/job-specification/hcl2/functions/collection/concat.mdx (about) 1 --- 2 layout: docs 3 page_title: concat - Functions - Configuration Language 4 description: The concat function combines two or more lists into a single list. 5 --- 6 7 # `concat` Function 8 9 `concat` takes two or more lists and combines them into a single list. 10 11 ## Examples 12 13 ```shell-session 14 > concat(["a", ""], ["b", "c"]) 15 [ 16 "a", 17 "", 18 "b", 19 "c", 20 ] 21 ```