Docs

v2.0

strings.toUpper() function

The strings.toUpper() function converts a string to upper case.

Output data type: String

import "strings"

strings.toUpper(v: "koala")

// returns "KOALA"

Paramters

v

The string value to convert.

Data type: String

Examples

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

data
  |> map(fn:(r) => strings.toUpper(v: r.envVars))

Bug Reports and Feedback

Thank you for being willing to help test InfluxDB v2.0 alpha! Feedback and bug reports are welcome and encouraged both for InfluxDB and this documentation.

Submit feedback in the InfluxData Community