# trimStart

> This document is the Markdown version of [valibot.dev/api/trimStart/](https://valibot.dev/api/trimStart/). For the complete documentation index, see [llms.txt](https://valibot.dev/llms.txt).

Creates a trim start transformation action.

```ts
const Action = v.trimStart();
```

## Returns

- `Action` `TrimStartAction`

## Examples

The following examples show how `trimStart` can be used.

### Trimmed string

Schema to trimStart the start of a string.

```ts
const StringSchema = v.pipe(v.string(), v.trimStart());
```

## Related

The following APIs can be combined with `trimStart`.

### Schemas

[`any`](/api/any.md), [`custom`](/api/custom.md), [`string`](/api/string.md)

### Methods

[`pipe`](/api/pipe.md)

### Utils

[`isOfKind`](/api/isOfKind.md), [`isOfType`](/api/isOfType.md)
