[discrete] [[esql-rtrim]] === `RTRIM` *Syntax* [.text-center] image::esql/functions/signature/rtrim.svg[Embedded,opts=inline] *Parameters* `str`:: String expression. If `null`, the function returns `null`. *Description* Removes trailing whitespaces from strings. *Supported types* include::types/rtrim.asciidoc[] *Example* [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] |===