# PaddingRight

## Overview

![The PaddingRight Node.](https://2628349686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fwnv17cpjDin2deSlOz0z%2Fuploads%2Fgit-blob-f54655becb7b131f088748373f95ce447a3ae573%2Fpaddingrightupdatedimage.png?alt=media)

The **PaddingRight** **Node** adds a character a chosen number of times to the right of a **String**.

For example, padding the character "a" 6 times to the **String** "bbbbbbcccccc" gives "bbbbbbccccccaaaaaa" as the result.

The `Padding character` **Attribute** and **Input** can receive a **String** but they only use the first character.

[**Scope**](https://docs.incari.com/incari-studio/2023.1/overview#scopes): **Project**, **Scene**, **Function**, **Prefab**.

## Attributes

![The PaddingRight Node Attributes.](https://2628349686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fwnv17cpjDin2deSlOz0z%2Fuploads%2Fgit-blob-1215993949365a8a3223c2209837cc7a956baaef%2Fpaddingrightattributes.png?alt=media)

| Attribute           | Type       | Description                                                                                                           |
| ------------------- | ---------- | --------------------------------------------------------------------------------------------------------------------- |
| `String`            | **String** | The **String** to which the `Padding character` will be added on the right, if none is given in the **Input Socket**. |
| `Padding character` | **String** | The character that will be added on the right of `String`, if none is given in the **Input Socket**.                  |
| `Padding size`      | **Int**    | The number of times that the `Padding character` will be repeated, if none is given in the **Input Socket**.          |

## Inputs

| Input             | Type       | Description                                                                 |
| ----------------- | ---------- | --------------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse**  | A standard **Input Pulse**, to trigger the execution of the **Node**.       |
| `String`          | **String** | The **String** to which the `Padding character` will be added on the right. |
| `Padding char.`   | **String** | The character that will be added on the right of `String`.                  |
| `Padding size`    | **Int**    | The number of times that the `Padding character` will be repeated.          |

## Outputs

| Output             | Type       | Description                                                                                                                            |
| ------------------ | ---------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse**  | A standard **Output Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |
| `Padded right`     | **String** | The resulting **String** with the character padded on the right.                                                                       |

## See Also

* [**PaddingLeft**](https://docs.incari.com/incari-studio/2023.1/toolbox/string/paddingleft)
