mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-30 10:23:41 -04:00
This adds some extra tests, docs, and descriptions for the `trim`, `ltrim`, and `rtrim` functions.
20 lines
416 B
Text
20 lines
416 B
Text
[discrete]
|
|
[[esql-rtrim]]
|
|
=== `RTRIM`
|
|
[.text-center]
|
|
image::esql/functions/signature/rtrim.svg[Embedded,opts=inline]
|
|
|
|
Removes trailing whitespaces from strings.
|
|
|
|
[source.merge.styled,esql]
|
|
----
|
|
include::{esql-specs}/string.csv-spec[tag=rtrim]
|
|
----
|
|
[%header.monospaced.styled,format=dsv,separator=|]
|
|
|===
|
|
include::{esql-specs}/string.csv-spec[tag=rtrim-result]
|
|
|===
|
|
|
|
Supported types:
|
|
|
|
include::types/rtrim.asciidoc[]
|