Loading ...
Sorry, an error occurred while loading the content.

118026Adding items'List to items'List2

Expand Messages
  • epanda
    Oct 6, 2010

      I have two Lists:
      let list1=['','','','barfoo']
      let list2=['foo','bar','foobar']

      I would like to obtain this List :
      listResult = ['foo','bar','foobar','barfoo']

      ..without looping manually by for or while around my List.

      Is there a faster way?


      You received this message from the "vim_use" 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
    • Show all 5 messages in this topic