# Length

## Overview

![The Length Node.](https://1553081948-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU990HLHWA30dTfELtDUK%2Fuploads%2Fgit-blob-5541954b6d9a9b3f46c5bbf40644c02b82077a3a%2Flengthnode20241.png?alt=media)

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

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

## Attributes

![The Length Node Attributes.](https://1553081948-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU990HLHWA30dTfELtDUK%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.                                                                                                     |
