Skip to main content
Module

std/strings/mod.ts

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.38.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