import { fn } from "https://deno.land/x/ddc_vim@v2.5.1/deps.ts";
const { list2str } = fn;
Convert each number in {list} to a character string can concatenate them all. Examples: list2str([32]) returns " " list2str([65, 66, 67]) returns "ABC" The same can be done (slowly) with: join(map(list, {nr, val -> nr2char(val)}), '') |str2list()| does the opposite. When {utf8} is omitted or zero, the current 'encoding' is used. With {utf8} is 1, always return utf-8 characters. With utf-8 composing characters work as expected: list2str([97, 769]) returns "á" Can also be used as a |method|: GetList()->list2str()