LEN (array)
Written by
Updated at May 30, 2024
Function LEN
is also found in the following categories: String functions.
Syntax
LEN( value )
Description
Returns the number of the value
items.
Argument types:
value
—Array of fractional numbers | Array of integers | Array of strings
Return type: Integer
Examples
LEN(ARRAY(1, 2, 3)) = 3
LEN(ARRAY('a', 'b', NULL, 'c')) = 4
Data source support
ClickHouse 21.8
, PostgreSQL 9.3
.