forked from aniani/vim
updated for version 7.0075
This commit is contained in:
@@ -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
|
||||
:"
|
||||
|
||||
Reference in New Issue
Block a user