11 lines
202 B
Plaintext
11 lines
202 B
Plaintext
|
[[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)
|
||
|
----
|