# String Pad Left

This modifier returns the string padded on the left to the specified padding length (paramameter 1) with a character of choice (parameter 2).

::tabs

::tab antlers
```antlers
{{ 1 | str_pad_left(2,0) }}
```
::tab blade
```blade
{{ Statamic::modify(1)->strPadLeft([2, 0]) }}
```
::

```html
01
```
