strlen()

Returns the length of a given string.

Syntax

strlen(value)

Parameters

Parameter Type Description
value String The string to measure.

Return Value

Examples

strlen("Hello");   // returns 5
strlen("");        // returns 0
strlen("12345");   // returns 5

See also

str
strlen
padleft
padright
hex
bin
chr
match