Apache Presto - length(string)



Query

presto:default> select length('tutorialspoint') as string_length; 

Result

 string_length 
--------------- 
     14 

The output is the length of the given string.

apache_presto_sql_functions.htm
Advertisements