LENGTH

Learn how to use the LENGTH string function in PlaidCloud Lakehouse. Returns the length of a string in bytes - see syntax, examples, and output.

Returns the length of a string in bytes.

Analyze Syntax

func.length(<str>)

Analyze Examples

func.length('hello')

┌───┐
 5  
└───┘

SQL Syntax

LENGTH(<str>)

SQL Examples

SELECT LENGTH('hello');

┌───┐
 5  
└───┘