diff runtime/doc/usr_41.txt @ 24130:c3d1f65365c4 v8.2.2606

patch 8.2.2606: strchars() defaults to counting composing characters Commit: https://github.com/vim/vim/commit/70ce8a1561c5396e4c4381f76a005cbb97646f80 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 14 19:02:09 2021 +0100 patch 8.2.2606: strchars() defaults to counting composing characters Problem: strchars() defaults to counting composing characters. Solution: Add strcharlen() which ignores composing characters.
author Bram Moolenaar <Bram@vim.org>
date Sun, 14 Mar 2021 19:15:03 +0100
parents 5b37a0bf7e3a
children 4ab4ef0c48b1
line wrap: on
line diff
--- a/runtime/doc/usr_41.txt
+++ b/runtime/doc/usr_41.txt
@@ -611,7 +611,8 @@ String manipulation:					*string-functio
 	stridx()		first index of a short string in a long string
 	strridx()		last index of a short string in a long string
 	strlen()		length of a string in bytes
-	strchars()		length of a string in characters
+	strcharlen()		length of a string in characters
+	strchars()		number of characters in a string
 	strwidth()		size of string when displayed
 	strdisplaywidth()	size of string when displayed, deals with tabs
 	setcellwidths()		set character cell width overrides