From 12c6b2395be2bd1371284adf03e4826ba5edc761 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 1 Apr 2020 15:23:39 -0400 Subject: Move encode, decode helpers to /std/encoding/utf8.ts, delete /std/strings/ (#4565) also removes std/encoding/mod.ts and std/archive/mod.ts which are useless. --- std/strings/README.md | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 std/strings/README.md (limited to 'std/strings/README.md') diff --git a/std/strings/README.md b/std/strings/README.md deleted file mode 100644 index 43be553b8..000000000 --- a/std/strings/README.md +++ /dev/null @@ -1,26 +0,0 @@ -# Strings - -This module provides a few basic utilities to manipulate strings. - -## Usage - -### pad - -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. - -Basic usage: - -```ts -import { pad } from "https://deno.land/std/strings/pad.ts"; -pad("deno", 6, { char: "*", side: "left" }); // output : "**deno" -pad("deno", 6, { char: "*", side: "right" }); // output : "deno**" -pad("denosorusrex", 6, { - char: "*", - side: "left", - strict: true, - strictSide: "right", - strictChar: "...", -}); // output : "den..." -``` -- cgit v1.2.3