number.len

This function returns the length of a string.

Syntax

number.len(input)

Arguments

Argument

Type

Description

input

string

String whose length needs to be counted.

Returns

Type

Description

int

Number indicating the length of the string.

Examples

The function number.len("123") returns 3.