elasticsearch/docs/reference/esql/functions/trim.asciidoc

11 lines
202 B
Plaintext
Raw Normal View History

[[esql-trim]]
=== `TRIM`
Removes leading and trailing whitespaces from strings.
[source,esql]
----
FROM employees
| KEEP first_name, last_name, height
| EVAL trimmed_first_name = TRIM(first_name)
----