# trimb() function

The trimb() function removes trailing
spaces from a string.

## Syntax

```
trimb(str.exp)
```

## Parameter(s)

| str.exp | Specifies the string from which trailing spaces are removed. |
| --- | --- |

## Description

Note: This function requires a
nondefault $options setting to compile.

## See also

- [$options directive](https://d3codex.com/pickbasic-flashbasic/dollar-options-directive/)

---
Source: https://d3codex.com/pickbasic-flashbasic/trimb-function/ - part of the D3Codex reference.
