Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/function/vim/mod.ts>strcharlen

๐Ÿ“š Standard module for denops.vim
Go to Latest
function strcharlen
import { strcharlen } from "https://deno.land/x/denops_std@v3.11.1/function/vim/mod.ts";

The result is a Number, which is the number of characters in String {string}. Composing characters are ignored. |strchars()| can count the number of characters, counting composing characters separately. Also see |strlen()|, |strdisplaywidth()| and |strwidth()|. Can also be used as a |method|: GetText()->strcharlen()

Parameters

denops: Denops
string: unknown

Returns

Promise<unknown>