Apache Presto - substring(string,start)


Query

presto:default> select substring('tutorialspoint',3) as substring_start; 

Result

 substring_start 
----------------- 
 tutorialspoint 

Here, the substring of starting position 3 is 'tutorialspoint'.

apache_presto_sql_functions.htm
Advertisements