<para>
The <function>substring</> function with three parameters,
- <function>substring(<parameter>string</parameter> from
+ <function>substring(<replaceable>string</replaceable> from
<replaceable>pattern</replaceable> for
<replaceable>escape-character</replaceable>)</function>, provides
extraction of a substring that matches an SQL
<para>
The <function>substring</> function with two parameters,
- <function>substring(<parameter>string</parameter> from
+ <function>substring(<replaceable>string</replaceable> from
<replaceable>pattern</replaceable>)</function>, provides extraction of a substring
that matches a POSIX regular expression pattern. It returns null if
there is no match, otherwise the portion of the text that matched the