vim-patch:7.4.1730

Problem:    It is not easy to get a character out of a string.
Solution:   Add strgetchar() and strcharpart().

58de0e2dcc
This commit is contained in:
Michael Ennen
2016-10-23 13:41:51 -07:00
parent 500c485e36
commit d6e27f90b9
5 changed files with 137 additions and 1 deletions

View File

@@ -268,9 +268,11 @@ return {
sqrt={args=1, func="float_op_wrapper", data="&sqrt"},
str2float={args=1},
str2nr={args={1, 2}},
strcharpart={args={2, 3}},
strchars={args={1,2}},
strdisplaywidth={args={1, 2}},
strftime={args={1, 2}},
strgetchar={args={2,2}},
stridx={args={2, 3}},
string={args=1},
strlen={args=1},