---
title: PAD_RIGHT
url: https://www.tines.com/docs/formulas/functions/pad-right/
kind: formula-function
---

*[tines.com](https://www.tines.com/llms.txt) › [Docs](https://www.tines.com/llms.txt) › [Formulas](https://www.tines.com/llm/docs/formulas.md) › [Functions](https://www.tines.com/llm/docs/formulas/functions.md)*

# PAD_RIGHT

*[View on tines.com](https://www.tines.com/docs/formulas/functions/pad-right/)*

Appends specified text to the end of the input text until it reaches the defined target length. The target length cannot exceed 65536.

**Categories:** Text

## Syntax

```
PAD_RIGHT(input, target_length, pad_value)
```

## Examples

### Example 1

Input:

```json
{
  "my_action": {
    "my_text": "input"
  }
}
```

Formula:

```
PAD_RIGHT(my_action.my_text, 10, "a")
```

Output:

```json
"inputaaaaa"
```

### Example 2

Input:

```json
{
  "my_action": {
    "my_text": "input"
  }
}
```

Formula:

```
PAD_RIGHT(my_action.my_text, 10, "abc")
```

Output:

```json
"inputabcab"
```
