--- a/ldpatch.html Sun Dec 14 11:15:24 2014 -0500
+++ b/ldpatch.html Sun Dec 14 11:27:21 2014 -0500
@@ -424,6 +424,23 @@
</pre>
+ <h3 id="replace-elements-from-end-of-list">How to replace the n last elements</h3>
+
+ <p>
+ This example shows how to replace the last <code>3</code> elements of the provided collection:
+ </p>
+
+ <pre class='example'>
+UpdateList <#> <http://example.org/vocab#preferredLanguages> -3.. ( "en" "fr" ) .
+ </pre>
+
+ <p>Output graph:</p>
+
+ <pre class='example'>
+<#> <http://example.org/vocab#preferredLanguages> ( "lorem" "ipsum" "en" "fr" ).
+ </pre>
+
+
<h3 id="remove-elements">How to remove elements</h3>
<p>