summaryrefslogtreecommitdiff
path: root/runtime/doc/usr_41.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-04-06 13:18:12 +0200
committerBram Moolenaar <Bram@vim.org>2019-04-06 13:18:12 +0200
commit9d40128afd7fcd038ff6532722b55b1a8c189ce8 (patch)
tree158eb1ffa1c9e3b6a152284c96668d666677d3f3 /runtime/doc/usr_41.txt
parent4a5711b5ea54525a262a57ec0d418f76504bad46 (diff)
downloadvim-git-9d40128afd7fcd038ff6532722b55b1a8c189ce8.tar.gz
patch 8.1.1122: char2nr() does not handle composing charactersv8.1.1122
Problem: char2nr() does not handle composing characters. Solution: Add str2list() and list2str(). (Ozaki Kiichi, closes #4190)
Diffstat (limited to 'runtime/doc/usr_41.txt')
-rw-r--r--runtime/doc/usr_41.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/doc/usr_41.txt b/runtime/doc/usr_41.txt
index b3b9d3eb9..e8fab8847 100644
--- a/runtime/doc/usr_41.txt
+++ b/runtime/doc/usr_41.txt
@@ -577,8 +577,10 @@ used for. You can find an alphabetical list here: |functions|. Use CTRL-] on
the function name to jump to detailed help on it.
String manipulation: *string-functions*
- nr2char() get a character by its ASCII value
- char2nr() get ASCII value of a character
+ nr2char() get a character by its number value
+ list2str() get a character string from a list of numbers
+ char2nr() get number value of a character
+ str2list() get list of numbers from a string
str2nr() convert a string to a Number
str2float() convert a string to a Float
printf() format a string according to % items