# Length

## Overview

![The Length Node.](https://2561100106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff6JZovzOqBctA4C1o76u%2Fuploads%2Fgit-blob-e3f4d5de97250ec039fd226e2cbb575eba00b5f9%2Flengthupdatedimage.png?alt=media)

**Length** returns the length of a **String**.

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

## Attributes

![The Length Node Attributes.](https://2561100106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff6JZovzOqBctA4C1o76u%2Fuploads%2Fgit-blob-e3d2831b54922ee8572dd6323a851d6612fdf475%2Flengthattributes.png?alt=media)

| Attribute | Type       | Description                                                                           |
| --------- | ---------- | ------------------------------------------------------------------------------------- |
| `String`  | **String** | **String** whose length you wish to return, 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** | **String** whose length you wish to return.                           |

## 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. |
| `Length`           | **Int**   | Length of the **String** received.                                                                                                     |
