Apache Presto - strpos(string,substring)
查询 1
presto:default> select strpos('apache','ap') as string_position;
string_position ----------------- 1
查询 2
presto:default> select strpos('apache','c') as string_position;
string_position ----------------- 4
apache_presto_sql_functions.html