Skip to main content
Go to Latest
function getStringWidth
import { getStringWidth } from "https://deno.land/std@0.137.0/node/internal/util/inspect.mjs";

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

Parameters

str
optional
removeControlChars = [UNSUPPORTED]