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

10 lines
167 B
Plaintext
Raw Normal View History

[[esql-trim]]
=== `TRIM`
Removes leading and trailing whitespaces from strings.
[source,esql]
----
ROW message = " some text "
| EVAL message = TRIM(message)
----