* Bram Moolenaar <b...@moolenaar.net> [190115 16:52]: > > Patch 8.1.0757 > Problem: Not enough documentation for Blobs. > Solution: Add a section about Blobs. > Files: runtime/doc/eval.txt [snip] > ! Part of a blob ~ > ! > ! A part of the Blob can be obtained by specifying the first and last index, > ! separated by a colon in square brackets: > > ! :let myblob = 0z00112233 > ! :let shortblob = myblob[2:-1] " get 0z2233
I would make the first example use an explicit non-(-1) index for the last index, then after that say that -1 means the last element and give this example. ...Marvin -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.