# ltrim {#ltrim}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`ltrim(X)`

## Arguments {#arguments}

**X** is a STRING scalar/vector, or table.

## Details {#details}

Remove leading spaces from a character expression.

If *X* is a table, the function is applied only to columns of STRING type. Other column types are ignored.

## Examples {#examples}

```
ltrim("    I love this game!");
// output: I love this game!
```

