# Get string length transform action

## Use case

There is a character limit on a field in an upcoming API call, you would like to check the length of the input prior to making the call.

## Overview

<figure><img src="https://1835401289-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAQQ1EHVcEsGKBPVHmiav%2Fuploads%2FkW1Os970QAMF2ioV10zk%2FScreenshot%202025-04-18%20at%203.01.49%E2%80%AFPM.png?alt=media&#x26;token=2d22ee75-d753-46fa-a0b8-e715aed831f6" alt="A screenshot of the get string length transform action, seen in the actions list menu of the workflow builder canvas."><figcaption></figcaption></figure>

Measures the length of a String. It will return the number of characters in that string.

## Parameters

<table><thead><tr><th width="217">Parameter</th><th width="417.3333333333333">Description</th><th data-type="checkbox">Required</th></tr></thead><tbody><tr><td>String to Measure</td><td>The string to get the length of.</td><td>true</td></tr></tbody></table>

## Usage

<details>

<summary>Example: Getting the count of numbers in a string</summary>

Inputs:

**String to Measure:** The quick brown fox jumps over the lazy dog

</details>

## Results output

Result of Example:

```
43
```
