1
0
forked from aniani/vim

updated for version 7.0075

This commit is contained in:
Bram Moolenaar
2005-05-22 22:09:40 +00:00
parent 2389c3c640
commit de934d77b1
4 changed files with 34 additions and 5 deletions

View File

@@ -266,6 +266,15 @@ STARTTEST
:$put =string(reverse(sort(l)))
:$put =string(sort(reverse(sort(l))))
:"
:" splitting a string to a List
:$put =string(split(' aa bb '))
:$put =string(split(' aa bb ', '\W\+', 0))
:$put =string(split(' aa bb ', '\W\+', 1))
:$put =string(split(' aa bb ', '\W', 1))
:$put =string(split(':aa::bb:', ':', 0))
:$put =string(split(':aa::bb:', ':', 1))
:$put =string(split('aa,,bb, cc,', ',\s*', 1))
:"
:endfun
:call Test(1, 2, [3, 4], {5: 6}) " This may take a while
:"