2023-07-07 23:37:38 +08:00
|
|
|
[[esql-trim]]
|
|
|
|
=== `TRIM`
|
|
|
|
Removes leading and trailing whitespaces from strings.
|
|
|
|
|
2023-07-10 16:17:12 +08:00
|
|
|
[source.merge.styled,esql]
|
2023-07-07 23:37:38 +08:00
|
|
|
----
|
2023-07-10 16:17:12 +08:00
|
|
|
include::{esql-specs}/string.csv-spec[tag=trim]
|
2023-07-07 23:37:38 +08:00
|
|
|
----
|
2023-07-10 16:17:12 +08:00
|
|
|
[%header.monospaced.styled,format=dsv,separator=|]
|
|
|
|
|===
|
|
|
|
include::{esql-specs}/string.csv-spec[tag=trim-result]
|
|
|
|
|===
|