Documentation

strings.toLower() function

Flux 0.18.0+

The strings.toLower() function converts a string to lowercase.

Output data type: String

import "strings"

strings.toLower(v: "KOALA")

// returns "koala"

Parameters

v

The string value to convert.

Examples

Convert all values of a column to lower case
import "strings"

data
  |> map(fn: (r) => ({
      r with exclamation: strings.toLower(v: r.exclamation)
    })
  )

Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.