Search notes:
vim script: strchars
strchars
returns the number of characters in a string.
Use
strlen
to get the number of bytes.
" " ../run_ strlen " redir > strchars.out echo strchars("äöü") " 3 q
Github repository
about-vim
, path:
/vimscript/functions/strchars.vim
See also
strchars vs strwidth vs strlen vs strdisplaywidth
Vim: built in functions
VIM script
Index