diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 67d212ed3f9..5bd29793e81 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -1,5 +1,5 @@
@@ -2725,7 +2725,7 @@ cast(-44 as bit(12)) 111111010100
The substring> function with three parameters,
- substring(string from
+ substring(string from
pattern for
escape-character), provides
extraction of a substring that matches an SQL
@@ -2837,7 +2837,7 @@ substring('foobar' from '#"o_b#"%' for '#') NULL
The substring> function with two parameters,
- substring(string from
+ substring(string from
pattern), 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