strings.toLower() function

Warning! This page documents an earlier version of Flux, which is no longer actively developed. Flux v0.50 is the most recent stable version of Flux.

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.

Data type: String

Examples

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

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