# trimf() function

The trimf() function removes leading
spaces from a string.

## Syntax

```
trimf(str.exp)
```

## Parameter(s)

| str.exp | Specifies the string from which leading 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/trimf-function/ - part of the D3Codex reference.
