# TrimLeft

## Overview

![The TrimLeft Node.](https://926825830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKQhJdUBr7YQzfIwmpAZ9%2Fuploads%2Fgit-blob-037d6d16fee5aaf7340934b00c9bb5f4465d9a72%2Ftrimleft.png?alt=media)

The **TrimLeft** **Node** trims certain chosen characters from the left side of a **String**, until a different character is found. It receives as **Input** a **String** to be trimmed and the characters to trim, and it outputs the trimmed **String**.

For example, trimming the characters "ab" from the **String** "babbaacababa" results in the trimmed **String** "cababa".

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

## Attributes

![The TrimLeft Node Attributes.](https://926825830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKQhJdUBr7YQzfIwmpAZ9%2Fuploads%2Fgit-blob-1599c736abc0b0f242b9de8a1852409fc81821af%2Ftrimleftattributes.png?alt=media)

| Attribute    | Type       | Description                                                                               |
| ------------ | ---------- | ----------------------------------------------------------------------------------------- |
| `String`     | **String** | The **String** to be trimmed from the left, if none is given in the **Input** **Socket**. |
| `Characters` | **String** | The characters to be trimmed from `String`, if none are 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 be trimmed from the left.                           |
| `Characters`      | **String** | The characters to be trimmed from `String`.                           |

## 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. |
| `Trimmed`          | **String** | The trimmed **String**.                                                                                                                |

## See Also

* [**TrimRight**](https://docs.incari.com/incari-studio/2022.1/toolbox/string/trimright)
* [**Trim**](https://docs.incari.com/incari-studio/2022.1/toolbox/string/trim)
