Skip to content

Commit 5368a23

Browse files
committed
docs: document TRIM "comma" syntax
This syntax is supported by the parser, but is non-standard. _Not_ backpatched to 9.3 in case we change our minds.
1 parent e2cd368 commit 5368a23

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

doc/src/sgml/func.sgml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1293,6 +1293,25 @@
12931293
<entry><literal>Tom</literal></entry>
12941294
</row>
12951295

1296+
<row>
1297+
<entry>
1298+
<indexterm>
1299+
<primary>trim</primary>
1300+
</indexterm>
1301+
<literal><function>trim(<optional>leading | trailing
1302+
| both</optional> <optional>from</optional>
1303+
<parameter>string</parameter>
1304+
<optional><parameter>, characters</parameter></optional>
1305+
)</function></literal>
1306+
</entry>
1307+
<entry><type>text</type></entry>
1308+
<entry>
1309+
Non-standard version of <function>trim()</>
1310+
</entry>
1311+
<entry><literal>trim(both from 'xTomxx', 'x')</literal></entry>
1312+
<entry><literal>Tom</literal></entry>
1313+
</row>
1314+
12961315
<row>
12971316
<entry>
12981317
<indexterm>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy