--- title: strings.joinStr() function description: > `strings.joinStr()` concatenates elements of a string array into a single string using a specified separator. menu: flux_v0_ref: name: strings.joinStr parent: strings identifier: strings/joinStr weight: 101 --- `strings.joinStr()` concatenates elements of a string array into a single string using a specified separator. ##### Function type signature ```js (arr: [string], v: string) => string ``` {{% caption %}} For more information, see [Function type signatures](/flux/v0/function-type-signatures/). {{% /caption %}} ## Parameters ### arr ({{< req >}}) Array of strings to concatenate. ### v ({{< req >}}) Separator to use in the concatenated value. ## Examples ### Join a list of strings into a single string ```js import "strings" strings.joinStr(arr: ["foo", "bar", "baz", "quz"], v: ", ")// Returns "foo, bar, baz, quz" ```