Wednesday, October 6, 2010

Adding items'List to items'List2

Hi,

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?

THanks

--
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

No comments: