# .padStart(val,num)

## Description

Padstart returns the original string with the start padded out using the input values

## Parameters

The first parameter specifies what string should be used to pad out the original, and the second is a number that specifies how many times that string should be repeated.

## Usage On Strings

```javascript
num = "1"

log num.padStart("0",10)
// 0000000001
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://osl.mistium.com/methods/strings/.padstart.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
