Apache Presto - replace(string)

查询

presto:default> select replace('cat','c','r') as string_replace; 
 string_replace 
---------------- 
      rat

apache_presto_sql_functions.html