We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07f1264 commit 33ae03fCopy full SHA for 33ae03f
doc/src/sgml/func.sgml
@@ -1866,10 +1866,12 @@
1866
Any character in <parameter>string</parameter> that matches a
1867
character in the <parameter>from</parameter> set is replaced by
1868
the corresponding character in the <parameter>to</parameter>
1869
- set
+ set. If <parameter>from</parameter> is longer than
1870
+ <parameter>to</parameter>, occurrences of the extra characters in
1871
+ <parameter>from</parameter> are removed.
1872
</entry>
- <entry><literal>translate('12345', '14', 'ax')</literal></entry>
- <entry><literal>a23x5</literal></entry>
1873
+ <entry><literal>translate('12345', '143', 'ax')</literal></entry>
1874
+ <entry><literal>a2x5</literal></entry>
1875
</row>
1876
1877
</tbody>
0 commit comments