strings.toLower() function

strings.toLower() converts a string to lowercase.

Function type signature
(v: string) => string

For more information, see Function type signatures.

Parameters

v

(Required) String value to convert.

Examples

Convert all values of a column to lower case

import "sampledata"
import "strings"

sampledata.string()
    |> map(fn: (r) => ({r with _value: strings.toLower(v: r._value)}))

View example input and output


Was this page helpful?

Thank you for your feedback!