Skip to content

Returns the length of a string in bytes.

func.length(<str>)
func.length('hello')
┌───┐
│ 5 │
└───┘
LENGTH(<str>)
SELECT LENGTH('hello');
┌───┐
│ 5 │
└───┘