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