elasticsearch/docs/reference/esql/functions/rtrim.asciidoc
Nik Everett d46c386c86
ESQL: Extra tests for trim/ltrim/rtrim (#102308)
This adds some extra tests, docs, and descriptions for the `trim`,
`ltrim`, and `rtrim` functions.
2023-11-16 14:44:56 -05:00

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[]