title: presto replace multiple characters
body: <p>I have a string and would like to remove a set of characters. Is there a better way than chaining multiple <code>replace()</code>?</p>
  <p>I came up with the following but it requires a <code>replace()</code> call for each character:</p>
  <pre><code>
  WITH my_table(id, a_string) AS (
       VALUES
           (1, 'test{' || CHR(39) || '}xyz'),
           (2, 'x'),
           (3, '{y}'),
           (1, 'z'),
           (2, 'none'),
           (3, 'none' || CHR(39) || 'xyz')
  )
  SELECT replace(replace(replace(a_string,CHR(39)),'{'),'}') FROM my_table
  </code></pre>
  <p>This is a minimal example and I have more characters to escape so I was looking for a less verbose way of achieving this. I didn't find a string function in the documentation capable of this directly.</p>
  <p>Thank you.</p>