# LTRIM

Removes leading whitespaces from a string.

## Syntax

`LTRIM(string)`

### Parameters

#### `string`

String expression. If `null`, the function returns `null`.

## Examples

```esql
ROW message = "   some text  ",  color = " red "
| EVAL message = LTRIM(message)
| EVAL color = LTRIM(color)
| EVAL message = CONCAT("'", message, "'")
| EVAL color = CONCAT("'", color, "'")
```

This example removes leading whitespaces from the `message` and `color` columns, then wraps the resulting strings in single quotes.