# LENGTH() Function

### Description

Returns the length of a string

**Aliases:** `LEN`

### Syntax

```sql
LENGTH(string)
```

### Parameters

| Parameter | Description | Data Type | Required |
| --- | --- | --- | --- |
| _string_ | String value | String | Yes |

### Example

```sql
SELECT
    LENGTH(col)
FROM
    rippling.employee.Employee
LIMIT
    5;
```

Source: https://developer.rippling.com/documentation/rippling-platform/transformations/sql-reference/length

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
