strings.joinStr() function

The strings.joinStr() function concatenates elements of a string array into a single string using a specified separator.

Output data type: String

import "strings"

strings.joinStr(arr: ["a", "b", "c"], v: ",")

// returns "a,b,c"



The array of strings to concatenate.

Data type: Array of strings


The separator to use in the concatenated value.

Data type: String


Join a list of strings into a single string
import "strings"

searchTags = ["tag1", "tag2", "tag3"]

strings.joinStr(arr: searchTags, v: ","))

Cloud or OSS?

InfluxDB OSS 2.0 now generally available!

InfluxDB OSS 2.0 is now generally available and ready for production use. See the InfluxDB OSS 2.0 release notes.

For information about upgrading to InfluxDB OSS 2.0, see: