ES|QL TO_LOWER function
str-
String expression. If
null, the function returnsnull. The input can be a single-valued column or expression, or a multi-valued column or expression.
Returns a new string representing the input string converted to lower case.
| str | result |
|---|---|
| keyword | keyword |
| text | keyword |
ROW message = "Some Text"
| EVAL message_lower = TO_LOWER(message)
| message:keyword | message_lower:keyword |
|---|---|
| Some Text | some text |
ROW v = TO_LOWER(["Some", "Text"])
| v:keyword |
|---|
| ["some", "text"] |