# Get Text Length

## Overview

This operation calculates a string's length by counting the total number of characters, including letters, numbers, spaces, and symbols. It is useful for validating input lengths and analyzing text.

## Syntax

This operation supports two alternative formats. It works with and without an explicit **get**.

#### Option 1

```
the text is "{input}"
the text's length
```

#### Option 2

```
the text is "{input}"
get the text's length
```

## Data

The table below lists the names of the data elements in this operation and indicates which can be renamed in the syntax.

| Data Name | Can Be Renamed |
| --------- | -------------- |
| the text  | Yes            |

## Parameters

| Parameter | Description                                     | Examples          | Required |
| --------- | ----------------------------------------------- | ----------------- | -------- |
| `input`   | The input text whose length will be calculated. | "Happy Holidays!" | Yes      |

## Examples

{% tabs %}
{% tab title="Automation" %}

<pre><code><strong>the title is "Booking Report"
</strong>get the title's length
</code></pre>

{% endtab %}

{% tab title="Results" %}

```
14
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Automation" %}

```
the greeting is "Happy Holidays!"
the greeting's length
```

{% endtab %}

{% tab title="Results" %}

```
15
```

{% endtab %}
{% endtabs %}
