Merge pull request #32889 from fidelity/feature/doc-change

This commit is contained in:
Craig Wright 2023-03-21 15:31:34 -07:00 committed by GitHub
commit d53cb81bed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,8 +7,8 @@ description: |-
# `join` Function
`join` produces a string by concatenating together all elements of a given
list of strings with the given delimiter.
`join` produces a string by concatenating all of the elements of the specified
list of strings with the specified separator.
```hcl
join(separator, list)
@ -17,6 +17,8 @@ join(separator, list)
## Examples
```
> join("-", ["foo", "bar", "baz"])
"foo-bar-baz"
> join(", ", ["foo", "bar", "baz"])
foo, bar, baz
> join(", ", ["foo"])