From 925abf10374951eeb6115b6d7ecde77ae42aada8 Mon Sep 17 00:00:00 2001 From: "Middleton, Nathan" Date: Fri, 10 Feb 2023 16:45:56 +0000 Subject: [PATCH 1/3] ECCEAT-1964 join function description changed in documentation --- website/docs/language/functions/join.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/language/functions/join.mdx b/website/docs/language/functions/join.mdx index 6d8bd70c63..b292557882 100644 --- a/website/docs/language/functions/join.mdx +++ b/website/docs/language/functions/join.mdx @@ -8,7 +8,7 @@ description: |- # `join` Function `join` produces a string by concatenating together all elements of a given -list of strings with the given delimiter. +list of strings with the given delimiter in output string. ```hcl join(separator, list) From 119f645b4162930eb933cd9c7291c74c77914278 Mon Sep 17 00:00:00 2001 From: "Middleton, Nathan" Date: Wed, 15 Feb 2023 13:15:15 +0000 Subject: [PATCH 2/3] ECCEAT-1964 join function example added in documentation --- website/docs/language/functions/join.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/docs/language/functions/join.mdx b/website/docs/language/functions/join.mdx index b292557882..900cd73a7d 100644 --- a/website/docs/language/functions/join.mdx +++ b/website/docs/language/functions/join.mdx @@ -17,6 +17,8 @@ join(separator, list) ## Examples ``` +> join("-", ["foo", "bar", "baz"]) +"foo-bar-baz" > join(", ", ["foo", "bar", "baz"]) foo, bar, baz > join(", ", ["foo"]) From 2213d917462c69158cbd6d2a578687d94c4d6e29 Mon Sep 17 00:00:00 2001 From: "Middleton, Nathan" Date: Tue, 21 Mar 2023 16:46:20 +0000 Subject: [PATCH 3/3] description feedback change --- website/docs/language/functions/join.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/language/functions/join.mdx b/website/docs/language/functions/join.mdx index 900cd73a7d..58e6dba9fd 100644 --- a/website/docs/language/functions/join.mdx +++ b/website/docs/language/functions/join.mdx @@ -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 in output string. +`join` produces a string by concatenating all of the elements of the specified +list of strings with the specified separator. ```hcl join(separator, list)