LEN (array)
Written by
Updated at November 6, 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
, Files
, Google Sheets
, PostgreSQL 9.3
, Yandex Documents
.