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

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

Parameters

str
optional
removeControlChars = [UNSUPPORTED]