850 B
850 B
title | description | aliases | menu | weight | related | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
strings.toLower() function | The strings.toLower() function converts a string to lowercase. |
|
|
301 |
|
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)
})
)