> For the complete documentation index, see [llms.txt](https://docs.cascade.io/cascade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cascade.io/cascade/functions-and-expressions/functions/text/rtrim.md).

# RTRIM

RTRIM(`text`)

Removes trailing whitespace from a text string

### Arguments

| Input  | Description                    |
| ------ | ------------------------------ |
| `text` | Text(s) to strip of whitespace |

### Output

Outputs `text` without trailing whitespace

### Example

```
RTRIM("San Francisco    ") = "San Francisco"
```
