> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reelevant.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Length

> Get the length of a string

## Overview

The `length` transformation returns the number of characters in a string.

## Syntax

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
length(<variable>)
```

## Parameters

| Parameter  | Type   | Required | Description           |
| ---------- | ------ | -------- | --------------------- |
| `variable` | string | Yes      | The string to measure |

## Examples

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
length(<variable>)
```
