Go to Latest
function getStringWidth
import { getStringWidth } from "https://dotland.deno.dev/std@0.146.0/node/internal/util/inspect.mjs";

Returns the number of columns required to display the given string.

Parameters

str
optional
removeControlChars = [UNSUPPORTED]