Module

std/strings/mod.ts

Deno standard library
Go to Latest
import * as mod from "https://dotland.deno.dev/std@0.36.0/strings/mod.ts";

Variables

A default TextDecoder instance

A default TextEncoder instance

Functions

Shorthand for new TextDecoder().decode()

Shorthand for new TextEncoder().encode()

Pad helper for strings. Input string is processed to output a string with a minimal length. If the parameter strict is set to true, the output string length is equal to the strLen parameter. Example:

Interfaces

FillOption Object