aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc
diff options
context:
space:
mode:
authorChristopher Faulet <[email protected]>2014-10-23 16:42:57 +0200
committerChristopher Faulet <[email protected]>2014-10-29 10:54:50 +0100
commit8c3378d73e2ed23f9250aaf3dae95db44a664e75 (patch)
tree33352f0e827b7aa198619e9c96f16e36485faf6e /lib/stdlib/doc
parent8304aeb0114e61e8f694a58cf9e91a00856c3fe5 (diff)
downloadotp-8c3378d73e2ed23f9250aaf3dae95db44a664e75.tar.gz
otp-8c3378d73e2ed23f9250aaf3dae95db44a664e75.tar.bz2
otp-8c3378d73e2ed23f9250aaf3dae95db44a664e75.zip
Add 'trim_all' option to binary:split/3
This option can be set to remove _ALL_ empty parts of the result of a call to binary:split/3.
Diffstat (limited to 'lib/stdlib/doc')
-rw-r--r--lib/stdlib/doc/src/binary.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/stdlib/doc/src/binary.xml b/lib/stdlib/doc/src/binary.xml
index 2410f1f9b8..cda4b974b2 100644
--- a/lib/stdlib/doc/src/binary.xml
+++ b/lib/stdlib/doc/src/binary.xml
@@ -578,6 +578,10 @@ store(Binary, GBSet) ->
<item><p>Removes trailing empty parts of the result (as does trim in <c>re:split/3</c>)</p></item>
+ <tag>trim_all</tag>
+
+ <item><p>Removes all empty parts of the result.</p></item>
+
<tag>global</tag>
<item><p>Repeats the split until the <c><anno>Subject</anno></c> is