lower()
Converts a string to lowercase. If the argument is null
, it returns null
. If this receives a value other than the string, it evaluates that value after converting it to a string.
Syntax
lower(STR_EXPR)
Required Parameter
STR_EXPR
- String expression
Usage
json "{}" | eval str=lower("Hello World") => "hello world"
json "{}" | eval str=lower(1234) => "1234"
json "{}" | eval str=lower(null) => null