CHAR_LENGTH

Learn how to use the CHAR_LENGTH string function in PlaidCloud Lakehouse. Returns the number of characters in a string - see syntax, examples, and output.

Returns the number of characters in a string.

Analyze Syntax

func.char_length(<str>)

Analyze Examples

func.char_length('hello world')

┌────┐
 11  
└────┘

SQL Syntax

CHAR_LENGTH(<str>)

SQL Examples

SELECT CHAR_LENGTH('hello world');

┌────┐
 11  
└────┘