stringLength

Modified on Wed, 16 Aug 2023

Description

Calculate the length of a string

Syntax

stringLength(text)

Parameters

Input ParameterTypeDescription
textstringThe input string to calculate the length of

Return value

Type
number

Sample

ExampleResultDescription
stringLength("abcd")4The length of the input string
stringLength("")0The length of empty string
stringLength(123)0The length of non string input

To view all the String functions, click here.

See Also