Skip to main content
LENGTH

Computes the length (number of characters) of a text string

Updated over a year ago

Description

The LENGTH() function is used to determine the length of a text string, which is the count of characters in the string. It's a useful function for tasks such as validating input lengths or extracting substrings of specific lengths.

Syntax

LENGTH(text)

Output

integer

Variables

  1. text: The input text string for which you want to calculate the length.

Example

LENGTH(`Text`)

ID

Text

LENGTH

1

Hello, World!

13

2

Example

7

3

Savant

6

Did this answer your question?