strings.joinStr() concatenates elements of a string array into a single string using a specified separator.
Function type signature
(arr: [string], v: string) => string
(Required) Array of strings to concatenate.
(Required) Separator to use in the concatenated value.
Join a list of strings into a single string
import "strings" strings.joinStr(arr: ["foo", "bar", "baz", "quz"], v: ", ")// Returns "foo, bar, baz, quz"
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Flux and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.