comparison runtime/doc/usr_41.txt @ 16235:219c58b3879c v8.1.1122

patch 8.1.1122: char2nr() does not handle composing characters commit https://github.com/vim/vim/commit/9d40128afd7fcd038ff6532722b55b1a8c189ce8 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 6 13:18:12 2019 +0200 patch 8.1.1122: char2nr() does not handle composing characters Problem: char2nr() does not handle composing characters. Solution: Add str2list() and list2str(). (Ozaki Kiichi, closes https://github.com/vim/vim/issues/4190)
author Bram Moolenaar <Bram@vim.org>
date Sat, 06 Apr 2019 13:30:04 +0200
parents a23c883685cb
children b471858040bc
comparison
equal deleted inserted replaced
16234:dbfd219fe9b3 16235:219c58b3879c
575 There are many functions. We will mention them here, grouped by what they are 575 There are many functions. We will mention them here, grouped by what they are
576 used for. You can find an alphabetical list here: |functions|. Use CTRL-] on 576 used for. You can find an alphabetical list here: |functions|. Use CTRL-] on
577 the function name to jump to detailed help on it. 577 the function name to jump to detailed help on it.
578 578
579 String manipulation: *string-functions* 579 String manipulation: *string-functions*
580 nr2char() get a character by its ASCII value 580 nr2char() get a character by its number value
581 char2nr() get ASCII value of a character 581 list2str() get a character string from a list of numbers
582 char2nr() get number value of a character
583 str2list() get list of numbers from a string
582 str2nr() convert a string to a Number 584 str2nr() convert a string to a Number
583 str2float() convert a string to a Float 585 str2float() convert a string to a Float
584 printf() format a string according to % items 586 printf() format a string according to % items
585 escape() escape characters in a string with a '\' 587 escape() escape characters in a string with a '\'
586 shellescape() escape a string for use with a shell command 588 shellescape() escape a string for use with a shell command