comparison runtime/doc/eval.txt @ 3920:c53344bacabf

Updated runtime files.
author Bram Moolenaar <bram@vim.org>
date Thu, 15 Nov 2012 21:28:22 +0100
parents f15769bce0b8
children fdb8a9c7bd91
comparison
equal deleted inserted replaced
3919:23fc3dc4317e 3920:c53344bacabf
1 *eval.txt* For Vim version 7.3. Last change: 2012 Oct 21 1 *eval.txt* For Vim version 7.3. Last change: 2012 Nov 14
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
5481 split({expr} [, {pattern} [, {keepempty}]]) *split()* 5481 split({expr} [, {pattern} [, {keepempty}]]) *split()*
5482 Make a |List| out of {expr}. When {pattern} is omitted or 5482 Make a |List| out of {expr}. When {pattern} is omitted or
5483 empty each white-separated sequence of characters becomes an 5483 empty each white-separated sequence of characters becomes an
5484 item. 5484 item.
5485 Otherwise the string is split where {pattern} matches, 5485 Otherwise the string is split where {pattern} matches,
5486 removing the matched characters. 5486 removing the matched characters. 'ignorecase' is not used
5487 here, add \c to ignore case. |/\c|
5487 When the first or last item is empty it is omitted, unless the 5488 When the first or last item is empty it is omitted, unless the
5488 {keepempty} argument is given and it's non-zero. 5489 {keepempty} argument is given and it's non-zero.
5489 Other empty items are kept when {pattern} matches at least one 5490 Other empty items are kept when {pattern} matches at least one
5490 character or when {keepempty} is non-zero. 5491 character or when {keepempty} is non-zero.
5491 Example: > 5492 Example: >